Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Apache RocketMQ
Rocketmq
提交
08a0c403
R
Rocketmq
项目概览
Apache RocketMQ
/
Rocketmq
上一次同步 大约 3 年
通知
267
Star
16139
Fork
68
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rocketmq
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
08a0c403
编写于
8月 29, 2017
作者:
V
vongosling
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polish
上级
c0e4c3fd
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
33 addition
and
20 deletion
+33
-20
client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceService.java
...pache/rocketmq/client/impl/consumer/RebalanceService.java
+0
-3
client/src/main/java/org/apache/rocketmq/client/producer/LocalTransactionExecuter.java
...he/rocketmq/client/producer/LocalTransactionExecuter.java
+1
-1
client/src/main/java/org/apache/rocketmq/client/producer/SendCallback.java
...ava/org/apache/rocketmq/client/producer/SendCallback.java
+2
-2
common/src/main/java/org/apache/rocketmq/common/MixAll.java
common/src/main/java/org/apache/rocketmq/common/MixAll.java
+22
-9
remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingUtil.java
...ava/org/apache/rocketmq/remoting/common/RemotingUtil.java
+7
-4
style/rmq_checkstyle.xml
style/rmq_checkstyle.xml
+1
-1
未找到文件。
client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceService.java
浏览文件 @
08a0c403
...
...
@@ -21,9 +21,6 @@ import org.apache.rocketmq.client.log.ClientLogger;
import
org.apache.rocketmq.common.ServiceThread
;
import
org.slf4j.Logger
;
/**
* Rebalance Service
*/
public
class
RebalanceService
extends
ServiceThread
{
private
static
long
waitInterval
=
Long
.
parseLong
(
System
.
getProperty
(
...
...
client/src/main/java/org/apache/rocketmq/client/producer/LocalTransactionExecuter.java
浏览文件 @
08a0c403
...
...
@@ -19,5 +19,5 @@ package org.apache.rocketmq.client.producer;
import
org.apache.rocketmq.common.message.Message
;
public
interface
LocalTransactionExecuter
{
public
LocalTransactionState
executeLocalTransactionBranch
(
final
Message
msg
,
final
Object
arg
);
LocalTransactionState
executeLocalTransactionBranch
(
final
Message
msg
,
final
Object
arg
);
}
client/src/main/java/org/apache/rocketmq/client/producer/SendCallback.java
浏览文件 @
08a0c403
...
...
@@ -17,7 +17,7 @@
package
org.apache.rocketmq.client.producer
;
public
interface
SendCallback
{
public
void
onSuccess
(
final
SendResult
sendResult
);
void
onSuccess
(
final
SendResult
sendResult
);
public
void
onException
(
final
Throwable
e
);
void
onException
(
final
Throwable
e
);
}
common/src/main/java/org/apache/rocketmq/common/MixAll.java
浏览文件 @
08a0c403
...
...
@@ -16,20 +16,33 @@
*/
package
org.apache.rocketmq.common
;
import
org.apache.rocketmq.common.annotation.ImportantField
;
import
org.apache.rocketmq.common.constant.LoggerName
;
import
org.apache.rocketmq.common.help.FAQUrl
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.io.*
;
import
java.io.ByteArrayInputStream
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.FileWriter
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.lang.annotation.Annotation
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Method
;
import
java.lang.reflect.Modifier
;
import
java.net.*
;
import
java.util.*
;
import
java.net.Inet6Address
;
import
java.net.InetAddress
;
import
java.net.NetworkInterface
;
import
java.net.SocketException
;
import
java.net.URL
;
import
java.net.URLConnection
;
import
java.util.ArrayList
;
import
java.util.Enumeration
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Properties
;
import
java.util.concurrent.atomic.AtomicLong
;
import
org.apache.rocketmq.common.annotation.ImportantField
;
import
org.apache.rocketmq.common.constant.LoggerName
;
import
org.apache.rocketmq.common.help.FAQUrl
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
public
class
MixAll
{
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
LoggerName
.
COMMON_LOGGER_NAME
);
...
...
remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingUtil.java
浏览文件 @
08a0c403
...
...
@@ -19,17 +19,20 @@ package org.apache.rocketmq.remoting.common;
import
io.netty.channel.Channel
;
import
io.netty.channel.ChannelFuture
;
import
io.netty.channel.ChannelFutureListener
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.io.IOException
;
import
java.lang.reflect.Method
;
import
java.net.*
;
import
java.net.Inet6Address
;
import
java.net.InetAddress
;
import
java.net.InetSocketAddress
;
import
java.net.NetworkInterface
;
import
java.net.SocketAddress
;
import
java.nio.channels.Selector
;
import
java.nio.channels.SocketChannel
;
import
java.nio.channels.spi.SelectorProvider
;
import
java.util.ArrayList
;
import
java.util.Enumeration
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
public
class
RemotingUtil
{
public
static
final
String
OS_NAME
=
System
.
getProperty
(
"os.name"
);
...
...
style/rmq_checkstyle.xml
浏览文件 @
08a0c403
...
...
@@ -122,7 +122,7 @@
<module
name=
"StaticVariableName"
/>
<module
name=
"TypeName"
/>
<!--Checks that there are no import statements that use the * notation-->
<
!--<module name="AvoidStarImport"/>--
>
<
module
name=
"AvoidStarImport"
/
>
<!--whitespace-->
<module
name=
"GenericWhitespace"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录