public final class PartitionOperationThread extends OperationThread
OperationThread
that executes Operations for a particular partition, e.g. a map.get operation.Thread.State, Thread.UncaughtExceptionHandler
MAX_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 |
getOperationRunner(int partitionId)
For each partition there is a
OperationRunner instance. |
awaitTermination, getThreadId, provideMetrics, run, shutdown
afterRun, beforeRun, executeRun, setContextClassLoader
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, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public PartitionOperationThread(String name, int threadId, OperationQueue queue, ILogger logger, NodeExtension nodeExtension, OperationRunner[] partitionOperationRunners, ClassLoader configClassLoader)
public OperationRunner getOperationRunner(int partitionId)
OperationRunner
instance.
So we need to find the right one based on the partition ID.getOperationRunner
in class OperationThread
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.