Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小五666\n哈哈
Rocketmq
提交
cd4403ce
R
Rocketmq
项目概览
小五666\n哈哈
/
Rocketmq
与 Fork 源项目一致
Fork自
Apache RocketMQ / Rocketmq
通知
1
Star
0
Fork
0
代码
文件
提交
分支
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看板
提交
cd4403ce
编写于
1月 03, 2019
作者:
D
duhenglucky
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Modify license header
上级
6a49f0cb
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
41 addition
and
38 deletion
+41
-38
broker/src/test/java/org/apache/rocketmq/broker/processor/PullMessageProcessorTest.java
...e/rocketmq/broker/processor/PullMessageProcessorTest.java
+3
-0
snode/src/main/java/org/apache/rocketmq/snode/SnodeController.java
.../main/java/org/apache/rocketmq/snode/SnodeController.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/SnodeStartup.java
...src/main/java/org/apache/rocketmq/snode/SnodeStartup.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/client/PushSession.java
...in/java/org/apache/rocketmq/snode/client/PushSession.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/config/SnodeConfig.java
...in/java/org/apache/rocketmq/snode/config/SnodeConfig.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/constant/SnodeConstant.java
...ava/org/apache/rocketmq/snode/constant/SnodeConstant.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/exception/SnodeException.java
...a/org/apache/rocketmq/snode/exception/SnodeException.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/interceptor/ExceptionContext.java
...g/apache/rocketmq/snode/interceptor/ExceptionContext.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/interceptor/InterceptorGroup.java
...g/apache/rocketmq/snode/interceptor/InterceptorGroup.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/interceptor/RequestContext.java
...org/apache/rocketmq/snode/interceptor/RequestContext.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/interceptor/ResponseContext.java
...rg/apache/rocketmq/snode/interceptor/ResponseContext.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/processor/PullMessageProcessor.java
...apache/rocketmq/snode/processor/PullMessageProcessor.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/processor/SendMessageProcessor.java
...apache/rocketmq/snode/processor/SendMessageProcessor.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/service/EnodeService.java
.../java/org/apache/rocketmq/snode/service/EnodeService.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/service/NnodeService.java
.../java/org/apache/rocketmq/snode/service/NnodeService.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/service/PushService.java
...n/java/org/apache/rocketmq/snode/service/PushService.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/service/ScheduledService.java
...a/org/apache/rocketmq/snode/service/ScheduledService.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/service/impl/EnodeServiceImpl.java
.../apache/rocketmq/snode/service/impl/EnodeServiceImpl.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/service/impl/NnodeServiceImpl.java
.../apache/rocketmq/snode/service/impl/NnodeServiceImpl.java
+2
-2
snode/src/main/java/org/apache/rocketmq/snode/service/impl/ScheduledServiceImpl.java
...che/rocketmq/snode/service/impl/ScheduledServiceImpl.java
+2
-2
未找到文件。
broker/src/test/java/org/apache/rocketmq/broker/processor/PullMessageProcessorTest.java
浏览文件 @
cd4403ce
...
...
@@ -16,6 +16,7 @@
*/
package
org.apache.rocketmq.broker.processor
;
import
io.netty.channel.Channel
;
import
io.netty.channel.ChannelHandlerContext
;
import
java.net.InetSocketAddress
;
import
java.util.ArrayList
;
...
...
@@ -70,6 +71,8 @@ public class PullMessageProcessorTest {
@Mock
private
ChannelHandlerContext
handlerContext
;
@Mock
private
Channel
channel
;
@Mock
private
MessageStore
messageStore
;
private
ClientChannelInfo
clientChannelInfo
;
private
String
group
=
"FooBarGroup"
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/SnodeController.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode
;
import
java.util.List
;
import
java.util.concurrent.ArrayBlockingQueue
;
import
java.util.concurrent.ExecutorService
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/SnodeStartup.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode
;
import
ch.qos.logback.classic.LoggerContext
;
import
ch.qos.logback.classic.joran.JoranConfigurator
;
import
ch.qos.logback.core.joran.spi.JoranException
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/client/PushSession.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.client
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.client;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.client
;
import
io.netty.channel.Channel
;
import
org.apache.rocketmq.common.protocol.heartbeat.SubscriptionData
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/config/SnodeConfig.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.config
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.config;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.config
;
import
org.apache.rocketmq.common.MixAll
;
import
org.apache.rocketmq.common.annotation.ImportantField
;
import
org.apache.rocketmq.common.constant.LoggerName
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/constant/SnodeConstant.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.constant
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.constant;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.constant
;
public
class
SnodeConstant
{
public
static
final
long
heartbeatTimeout
=
3000
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/exception/SnodeException.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.exception
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.exception;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.exception
;
import
org.apache.rocketmq.common.UtilAll
;
import
org.apache.rocketmq.common.help.FAQUrl
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/interceptor/ExceptionContext.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.interceptor
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.interceptor;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.interceptor
;
import
org.apache.rocketmq.remoting.RemotingChannel
;
import
org.apache.rocketmq.remoting.protocol.RemotingCommand
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/interceptor/InterceptorGroup.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.interceptor
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.interceptor;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.interceptor
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/interceptor/RequestContext.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.interceptor
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.interceptor;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.interceptor
;
import
org.apache.rocketmq.remoting.RemotingChannel
;
import
org.apache.rocketmq.remoting.protocol.RemotingCommand
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/interceptor/ResponseContext.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.interceptor
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.interceptor;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.interceptor
;
import
org.apache.rocketmq.remoting.RemotingChannel
;
import
org.apache.rocketmq.remoting.protocol.RemotingCommand
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/processor/PullMessageProcessor.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.processor
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.processor;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.processor
;
import
java.util.concurrent.CompletableFuture
;
import
org.apache.rocketmq.common.constant.LoggerName
;
import
org.apache.rocketmq.common.help.FAQUrl
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/processor/SendMessageProcessor.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.processor
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.processor;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.processor
;
import
java.util.concurrent.CompletableFuture
;
import
org.apache.rocketmq.common.constant.LoggerName
;
import
org.apache.rocketmq.logging.InternalLogger
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/service/EnodeService.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.service
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.service;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.service
;
import
java.util.concurrent.CompletableFuture
;
import
org.apache.rocketmq.client.exception.MQBrokerException
;
import
org.apache.rocketmq.common.TopicConfig
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/service/NnodeService.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.service
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.service;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.service
;
import
java.util.Set
;
import
org.apache.rocketmq.client.exception.MQClientException
;
import
org.apache.rocketmq.common.protocol.body.ClusterInfo
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/service/PushService.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.service
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.service;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.service
;
import
org.apache.rocketmq.common.message.Message
;
public
interface
PushService
{
...
...
snode/src/main/java/org/apache/rocketmq/snode/service/ScheduledService.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.service
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.service;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.service
;
public
interface
ScheduledService
{
void
startScheduleTask
();
void
shutdown
();
...
...
snode/src/main/java/org/apache/rocketmq/snode/service/impl/EnodeServiceImpl.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.service.impl
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.service.impl;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.service.impl
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.Set
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/service/impl/NnodeServiceImpl.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.service.impl
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.service.impl;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.service.impl
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Set
;
...
...
snode/src/main/java/org/apache/rocketmq/snode/service/impl/ScheduledServiceImpl.java
浏览文件 @
cd4403ce
package
org.apache.rocketmq.snode.service.impl
;
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -14,7 +14,7 @@ package org.apache.rocketmq.snode.service.impl;/*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.rocketmq.snode.service.impl
;
import
java.util.concurrent.Executors
;
import
java.util.concurrent.ScheduledExecutorService
;
import
java.util.concurrent.ThreadFactory
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录