public final class PartitionOperationThread extends OperationThread
OperationThread that executes Operations for a particular partition,
e.g. a map.get operation.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PartitionOperationThread(String name,
int threadId,
OperationQueue queue,
ILogger logger,
NodeExtension nodeExtension,
OperationRunner[] partitionOperationRunners,
ClassLoader configClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
OperationRunner |
operationRunner(int partitionId)
For each partition there is a
OperationRunner instance. |
awaitTermination, getThreadId, provideMetrics, run, shutdownafterRun, beforeRun, executeRun, setContextClassLoaderactiveCount, 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, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic PartitionOperationThread(String name, int threadId, OperationQueue queue, ILogger logger, NodeExtension nodeExtension, OperationRunner[] partitionOperationRunners, ClassLoader configClassLoader)
public OperationRunner operationRunner(int partitionId)
OperationRunner instance. So we need
to find the right one based on the partition ID.operationRunner in class OperationThreadCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.