public interface InternalOperationService extends OperationService
BasicOperationService
, but in the future others can be added.
It exposes methods that will not be called by regular code, like shutdown, but will only be called by
the the SPI management.Modifier and Type | Method and Description |
---|---|
void |
execute(Runnable task,
int partitionId)
Executes a Runnable on a thread that is responsible for a given partition.
|
void |
executeOperation(Packet packet)
Executes an operation.
|
boolean |
isCallTimedOut(Operation op) |
void |
notifyBackupCall(long callId) |
void |
onMemberLeft(MemberImpl member) |
void |
shutdown()
Shuts down this InternalOperationService.
|
createInvocationBuilder, createInvocationBuilder, dumpPerformanceMetrics, executeOperation, getExecutedOperationCount, getGenericOperationThreadCount, getOperationExecutorQueueSize, getPartitionOperationThreadCount, getPriorityOperationExecutorQueueSize, getRemoteOperationsCount, getResponseQueueSize, getRunningOperationsCount, invokeOnAllPartitions, invokeOnPartition, invokeOnPartitions, invokeOnTarget, isAllowedToRunOnCallingThread, runOperationOnCallingThread, send, send
void onMemberLeft(MemberImpl member)
boolean isCallTimedOut(Operation op)
void notifyBackupCall(long callId)
void execute(Runnable task, int partitionId)
ClientEngine
when it has received a Packet containing
a request that needs to be processed. The advantage of this method is that the request can immediately be handed over to
a thread that can take care of it; either execute it directly or send it to the remote machine.task
- the task to executepartitionId
- the partition id. A partition of smaller than 0, means that the task is going to be executed in
the generic operation-threads and not on a partition specific operation-thread.void executeOperation(Packet packet)
packet
- the packet containing the serialized operation.void shutdown()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.