com.hazelcast.spi.impl.operationexecutor.classic
Class PartitionOperationThread
java.lang.Object
java.lang.Thread
com.hazelcast.util.executor.HazelcastManagedThread
com.hazelcast.spi.impl.operationexecutor.classic.OperationThread
com.hazelcast.spi.impl.operationexecutor.classic.PartitionOperationThread
- All Implemented Interfaces:
- Runnable
public final class PartitionOperationThread
- extends OperationThread
An OperationThread
that executes Operations for a particular partition, e.g. a map.get operation.
Methods inherited from class java.lang.Thread |
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 |
PartitionOperationThread
public PartitionOperationThread(String name,
int threadId,
ScheduleQueue scheduleQueue,
ILogger logger,
HazelcastThreadGroup threadGroup,
NodeExtension nodeExtension,
OperationRunner[] partitionOperationRunners)
getOperationRunner
public OperationRunner getOperationRunner(int partitionId)
- For each partition there is a
OperationRunner
instance. So we need to
find the right one based on the partition-id.
- Specified by:
getOperationRunner
in class OperationThread
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.