Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
Rocketmq
提交
2eae25c6
R
Rocketmq
项目概览
s920243400
/
Rocketmq
与 Fork 源项目一致
Fork自
Apache RocketMQ / Rocketmq
通知
1
Star
1
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看板
提交
2eae25c6
编写于
12月 28, 2016
作者:
Y
yukon
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ROCKETMQ-18 Remove empty class doc.
上级
853b167b
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
1 addition
and
79 deletion
+1
-79
common/src/main/java/org/apache/rocketmq/common/admin/ConsumeStats.java
...n/java/org/apache/rocketmq/common/admin/ConsumeStats.java
+0
-4
common/src/main/java/org/apache/rocketmq/common/admin/OffsetWrapper.java
.../java/org/apache/rocketmq/common/admin/OffsetWrapper.java
+0
-4
common/src/main/java/org/apache/rocketmq/common/admin/TopicOffset.java
...in/java/org/apache/rocketmq/common/admin/TopicOffset.java
+0
-4
common/src/main/java/org/apache/rocketmq/common/admin/TopicStatsTable.java
...ava/org/apache/rocketmq/common/admin/TopicStatsTable.java
+0
-4
common/src/main/java/org/apache/rocketmq/common/hook/FilterCheckHook.java
...java/org/apache/rocketmq/common/hook/FilterCheckHook.java
+0
-4
common/src/main/java/org/apache/rocketmq/common/message/Message.java
...main/java/org/apache/rocketmq/common/message/Message.java
+0
-4
common/src/main/java/org/apache/rocketmq/common/protocol/header/GetConsumerConnectionListRequestHeader.java
...otocol/header/GetConsumerConnectionListRequestHeader.java
+0
-4
common/src/main/java/org/apache/rocketmq/common/protocol/header/QueryCorrectionOffsetHeader.java
...q/common/protocol/header/QueryCorrectionOffsetHeader.java
+0
-4
common/src/main/java/org/apache/rocketmq/common/protocol/header/ResetOffsetRequestHeader.java
...etmq/common/protocol/header/ResetOffsetRequestHeader.java
+0
-4
store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java
.../main/java/org/apache/rocketmq/store/index/IndexFile.java
+1
-3
tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java
...cketmq/tools/command/message/QueryMsgByKeySubCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/DeleteKvConfigCommand.java
...rocketmq/tools/command/namesrv/DeleteKvConfigCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java
...rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java
...tmq/tools/command/offset/ResetOffsetByTimeOldCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/topic/DeleteTopicSubCommand.java
...e/rocketmq/tools/command/topic/DeleteTopicSubCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicClusterSubCommand.java
.../rocketmq/tools/command/topic/TopicClusterSubCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicListSubCommand.java
...che/rocketmq/tools/command/topic/TopicListSubCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicRouteSubCommand.java
...he/rocketmq/tools/command/topic/TopicRouteSubCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicStatusSubCommand.java
...e/rocketmq/tools/command/topic/TopicStatusSubCommand.java
+0
-4
tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java
.../rocketmq/tools/command/topic/UpdateOrderConfCommand.java
+0
-4
未找到文件。
common/src/main/java/org/apache/rocketmq/common/admin/ConsumeStats.java
浏览文件 @
2eae25c6
...
...
@@ -22,10 +22,6 @@ import java.util.Map.Entry;
import
org.apache.rocketmq.common.message.MessageQueue
;
import
org.apache.rocketmq.remoting.protocol.RemotingSerializable
;
/**
*
*
*/
public
class
ConsumeStats
extends
RemotingSerializable
{
private
HashMap
<
MessageQueue
,
OffsetWrapper
>
offsetTable
=
new
HashMap
<
MessageQueue
,
OffsetWrapper
>();
private
double
consumeTps
=
0
;
...
...
common/src/main/java/org/apache/rocketmq/common/admin/OffsetWrapper.java
浏览文件 @
2eae25c6
...
...
@@ -16,10 +16,6 @@
*/
package
org.apache.rocketmq.common.admin
;
/**
*
*
*/
public
class
OffsetWrapper
{
private
long
brokerOffset
;
private
long
consumerOffset
;
...
...
common/src/main/java/org/apache/rocketmq/common/admin/TopicOffset.java
浏览文件 @
2eae25c6
...
...
@@ -16,10 +16,6 @@
*/
package
org.apache.rocketmq.common.admin
;
/**
*
*
*/
public
class
TopicOffset
{
private
long
minOffset
;
private
long
maxOffset
;
...
...
common/src/main/java/org/apache/rocketmq/common/admin/TopicStatsTable.java
浏览文件 @
2eae25c6
...
...
@@ -20,10 +20,6 @@ import java.util.HashMap;
import
org.apache.rocketmq.common.message.MessageQueue
;
import
org.apache.rocketmq.remoting.protocol.RemotingSerializable
;
/**
*
*
*/
public
class
TopicStatsTable
extends
RemotingSerializable
{
private
HashMap
<
MessageQueue
,
TopicOffset
>
offsetTable
=
new
HashMap
<
MessageQueue
,
TopicOffset
>();
...
...
common/src/main/java/org/apache/rocketmq/common/hook/FilterCheckHook.java
浏览文件 @
2eae25c6
...
...
@@ -19,10 +19,6 @@ package org.apache.rocketmq.common.hook;
import
java.nio.ByteBuffer
;
/**
*
*
*/
public
interface
FilterCheckHook
{
public
String
hookName
();
...
...
common/src/main/java/org/apache/rocketmq/common/message/Message.java
浏览文件 @
2eae25c6
...
...
@@ -21,10 +21,6 @@ import java.util.Collection;
import
java.util.HashMap
;
import
java.util.Map
;
/**
*
*
*/
public
class
Message
implements
Serializable
{
private
static
final
long
serialVersionUID
=
8445773977080406428L
;
...
...
common/src/main/java/org/apache/rocketmq/common/protocol/header/GetConsumerConnectionListRequestHeader.java
浏览文件 @
2eae25c6
...
...
@@ -21,10 +21,6 @@ import org.apache.rocketmq.remoting.CommandCustomHeader;
import
org.apache.rocketmq.remoting.annotation.CFNotNull
;
import
org.apache.rocketmq.remoting.exception.RemotingCommandException
;
/**
*
*
*/
public
class
GetConsumerConnectionListRequestHeader
implements
CommandCustomHeader
{
@CFNotNull
private
String
consumerGroup
;
...
...
common/src/main/java/org/apache/rocketmq/common/protocol/header/QueryCorrectionOffsetHeader.java
浏览文件 @
2eae25c6
...
...
@@ -28,10 +28,6 @@ import org.apache.rocketmq.remoting.CommandCustomHeader;
import
org.apache.rocketmq.remoting.annotation.CFNotNull
;
import
org.apache.rocketmq.remoting.exception.RemotingCommandException
;
/**
*
*
*/
public
class
QueryCorrectionOffsetHeader
implements
CommandCustomHeader
{
private
String
filterGroups
;
@CFNotNull
...
...
common/src/main/java/org/apache/rocketmq/common/protocol/header/ResetOffsetRequestHeader.java
浏览文件 @
2eae25c6
...
...
@@ -21,10 +21,6 @@ import org.apache.rocketmq.remoting.CommandCustomHeader;
import
org.apache.rocketmq.remoting.annotation.CFNotNull
;
import
org.apache.rocketmq.remoting.exception.RemotingCommandException
;
/**
*
*
*/
public
class
ResetOffsetRequestHeader
implements
CommandCustomHeader
{
@CFNotNull
private
String
topic
;
...
...
store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java
浏览文件 @
2eae25c6
...
...
@@ -180,9 +180,7 @@ public class IndexFile {
}
public
boolean
isTimeMatched
(
final
long
begin
,
final
long
end
)
{
boolean
result
=
begin
<
this
.
indexHeader
.
getBeginTimestamp
()
&&
end
>
this
.
indexHeader
.
getEndTimestamp
();
boolean
result
=
begin
<
this
.
indexHeader
.
getBeginTimestamp
()
&&
end
>
this
.
indexHeader
.
getEndTimestamp
();
result
=
result
||
(
begin
>=
this
.
indexHeader
.
getBeginTimestamp
()
&&
begin
<=
this
.
indexHeader
.
getEndTimestamp
());
result
=
result
||
(
end
>=
this
.
indexHeader
.
getBeginTimestamp
()
&&
end
<=
this
.
indexHeader
.
getEndTimestamp
());
return
result
;
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java
浏览文件 @
2eae25c6
...
...
@@ -26,10 +26,6 @@ import org.apache.rocketmq.remoting.RPCHook;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
QueryMsgByKeySubCommand
implements
SubCommand
{
@Override
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/DeleteKvConfigCommand.java
浏览文件 @
2eae25c6
...
...
@@ -23,10 +23,6 @@ import org.apache.rocketmq.remoting.RPCHook;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
DeleteKvConfigCommand
implements
SubCommand
{
@Override
public
String
commandName
()
{
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java
浏览文件 @
2eae25c6
...
...
@@ -23,10 +23,6 @@ import org.apache.rocketmq.remoting.RPCHook;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
UpdateKvConfigCommand
implements
SubCommand
{
@Override
public
String
commandName
()
{
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java
浏览文件 @
2eae25c6
...
...
@@ -31,10 +31,6 @@ import org.apache.rocketmq.remoting.exception.RemotingException;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
ResetOffsetByTimeOldCommand
implements
SubCommand
{
public
static
void
resetOffset
(
DefaultMQAdminExt
defaultMQAdminExt
,
String
consumerGroup
,
String
topic
,
long
timestamp
,
boolean
force
,
String
timeStampStr
)
throws
RemotingException
,
MQBrokerException
,
InterruptedException
,
MQClientException
{
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/topic/DeleteTopicSubCommand.java
浏览文件 @
2eae25c6
...
...
@@ -31,10 +31,6 @@ import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import
org.apache.rocketmq.tools.command.CommandUtil
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
DeleteTopicSubCommand
implements
SubCommand
{
public
static
void
deleteTopic
(
final
DefaultMQAdminExt
adminExt
,
final
String
clusterName
,
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicClusterSubCommand.java
浏览文件 @
2eae25c6
...
...
@@ -24,10 +24,6 @@ import org.apache.rocketmq.remoting.RPCHook;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
TopicClusterSubCommand
implements
SubCommand
{
@Override
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicListSubCommand.java
浏览文件 @
2eae25c6
...
...
@@ -35,10 +35,6 @@ import org.apache.rocketmq.remoting.exception.RemotingException;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
TopicListSubCommand
implements
SubCommand
{
@Override
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicRouteSubCommand.java
浏览文件 @
2eae25c6
...
...
@@ -24,10 +24,6 @@ import org.apache.rocketmq.remoting.RPCHook;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
TopicRouteSubCommand
implements
SubCommand
{
@Override
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicStatusSubCommand.java
浏览文件 @
2eae25c6
...
...
@@ -30,10 +30,6 @@ import org.apache.rocketmq.remoting.RPCHook;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
TopicStatusSubCommand
implements
SubCommand
{
@Override
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java
浏览文件 @
2eae25c6
...
...
@@ -26,10 +26,6 @@ import org.apache.rocketmq.srvutil.ServerUtil;
import
org.apache.rocketmq.tools.admin.DefaultMQAdminExt
;
import
org.apache.rocketmq.tools.command.SubCommand
;
/**
*
*
*/
public
class
UpdateOrderConfCommand
implements
SubCommand
{
@Override
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录