public class CurrentThreadExecutor extends Object implements MessageCallbackExecutor
| 构造器和说明 |
|---|
CurrentThreadExecutor() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 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.