public class PerDataTypeSymbolHashExecutor extends Object implements MessageCallbackExecutor
SocketCommon.DataType and, for quote-related
types, routes callbacks to single-thread workers chosen by symbol hash.| 构造器和说明 |
|---|
PerDataTypeSymbolHashExecutor() |
PerDataTypeSymbolHashExecutor(int queueCapacity,
int symbolThreadCount) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(Runnable callback,
SocketCommon.DataType dataType,
String symbol)
Execute a callback.
|
void |
shutdown()
Gracefully shut down underlying resources.
|
void |
shutdownNow()
Immediately shut down underlying resources.
|
public PerDataTypeSymbolHashExecutor()
public PerDataTypeSymbolHashExecutor(int queueCapacity,
int symbolThreadCount)
public void execute(Runnable callback, SocketCommon.DataType dataType, String symbol)
MessageCallbackExecutorexecute 在接口中 MessageCallbackExecutorcallback - the task to rundataType - the data type of the messagesymbol - quote symbol, may be nullpublic void shutdown()
MessageCallbackExecutorshutdown 在接口中 MessageCallbackExecutorpublic void shutdownNow()
MessageCallbackExecutorshutdownNow 在接口中 MessageCallbackExecutorCopyright © 2026. All rights reserved.