Skip to content

Commit

Permalink
ROCKETMQ-18 Remove empty class doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxinyu committed Dec 28, 2016
1 parent 853b167 commit 2eae25c
Show file tree
Hide file tree
Showing 20 changed files with 1 addition and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
*/
package org.apache.rocketmq.common.admin;

/**
*
*
*/
public class OffsetWrapper {
private long brokerOffset;
private long consumerOffset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
*/
package org.apache.rocketmq.common.admin;

/**
*
*
*/
public class TopicOffset {
private long minOffset;
private long maxOffset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
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>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@

import java.nio.ByteBuffer;

/**
*
*
*/
public interface FilterCheckHook {
public String hookName();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
import java.util.HashMap;
import java.util.Map;

/**
*
*
*/
public class Message implements Serializable {
private static final long serialVersionUID = 8445773977080406428L;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
import org.apache.rocketmq.remoting.annotation.CFNotNull;
import org.apache.rocketmq.remoting.exception.RemotingCommandException;

/**
*
*
*/
public class GetConsumerConnectionListRequestHeader implements CommandCustomHeader {
@CFNotNull
private String consumerGroup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
import org.apache.rocketmq.remoting.annotation.CFNotNull;
import org.apache.rocketmq.remoting.exception.RemotingCommandException;

/**
*
*
*/
public class QueryCorrectionOffsetHeader implements CommandCustomHeader {
private String filterGroups;
@CFNotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
import org.apache.rocketmq.remoting.annotation.CFNotNull;
import org.apache.rocketmq.remoting.exception.RemotingCommandException;

/**
*
*
*/
public class ResetOffsetRequestHeader implements CommandCustomHeader {
@CFNotNull
private String topic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,7 @@ public long getEndPhyOffset() {
}

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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import org.apache.rocketmq.tools.command.SubCommand;

/**
*
*
*/
public class QueryMsgByKeySubCommand implements SubCommand {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import org.apache.rocketmq.tools.command.SubCommand;

/**
*
*
*/
public class DeleteKvConfigCommand implements SubCommand {
@Override
public String commandName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import org.apache.rocketmq.tools.command.SubCommand;

/**
*
*
*/
public class UpdateKvConfigCommand implements SubCommand {
@Override
public String commandName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import org.apache.rocketmq.tools.command.SubCommand;

/**
*
*
*/
public class TopicClusterSubCommand implements SubCommand {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import org.apache.rocketmq.tools.command.SubCommand;

/**
*
*
*/
public class TopicListSubCommand implements SubCommand {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import org.apache.rocketmq.tools.command.SubCommand;

/**
*
*
*/
public class TopicRouteSubCommand implements SubCommand {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import org.apache.rocketmq.tools.command.SubCommand;

/**
*
*
*/
public class TopicStatusSubCommand implements SubCommand {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
import org.apache.rocketmq.tools.command.SubCommand;

/**
*
*
*/
public class UpdateOrderConfCommand implements SubCommand {

@Override
Expand Down

0 comments on commit 2eae25c

Please sign in to comment.