Skip to content

Commit

Permalink
Remove end of line comment and add override annotation when rewrite m…
Browse files Browse the repository at this point in the history
…ethod (alibaba#1420)
  • Loading branch information
zzkyeee authored and vongosling committed Aug 28, 2019
1 parent 2c414fa commit 83de262
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ public AsyncTraceDispatcher(String traceTopicName, RPCHook rpcHook) {
} else {
this.traceTopicName = MixAll.RMQ_SYS_TRACE_TOPIC;
}
this.traceExecutor = new ThreadPoolExecutor(//
10, //
20, //
1000 * 60, //
TimeUnit.MILLISECONDS, //
this.appenderQueue, //
this.traceExecutor = new ThreadPoolExecutor(
10,
20,
1000 * 60,
TimeUnit.MILLISECONDS,
this.appenderQueue,
new ThreadFactoryImpl("MQTraceSendThread_"));
traceProducer = getAndCreateTraceProducer(rpcHook);
}
Expand Down Expand Up @@ -133,6 +133,7 @@ public void setHostConsumer(DefaultMQPushConsumerImpl hostConsumer) {
this.hostConsumer = hostConsumer;
}

@Override
public void start(String nameSrvAddr, AccessChannel accessChannel) throws MQClientException {
if (isStarted.compareAndSet(false, true)) {
traceProducer.setNamesrvAddr(nameSrvAddr);
Expand Down

0 comments on commit 83de262

Please sign in to comment.