com.hazelcast.spi.impl.operationexecutor.classic
public final class ResponseThread extends Thread implements OperationHostileThread
ResponsePacketHandler
for the
actual processing.
The reason that the IO thread doesn't immediately deals with the response is that deserializing the
Response
and let the invocation-future
deal with the response can be rather expensive currently.
This class needs to implement the OperationHostileThread interface to make sure that the OperationExecutor
is not going to schedule any operations on this task due to retry.Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ResponseThread(HazelcastThreadGroup threadGroup,
ILogger logger,
ResponsePacketHandler responsePacketHandler) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
shutdown() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public ResponseThread(HazelcastThreadGroup threadGroup, ILogger logger, ResponsePacketHandler responsePacketHandler)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.