mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-24 16:04:00 +08:00
Remove end of line comment and add override annotation when rewrite method (#1420)
This commit is contained in:
@@ -87,12 +87,12 @@ public class AsyncTraceDispatcher implements TraceDispatcher {
|
||||
} 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);
|
||||
}
|
||||
@@ -133,6 +133,7 @@ public class AsyncTraceDispatcher implements TraceDispatcher {
|
||||
this.hostConsumer = hostConsumer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start(String nameSrvAddr, AccessChannel accessChannel) throws MQClientException {
|
||||
if (isStarted.compareAndSet(false, true)) {
|
||||
traceProducer.setNamesrvAddr(nameSrvAddr);
|
||||
|
||||
Reference in New Issue
Block a user