public interface InternalOperationService extends OperationService
OperationServiceImpl
, 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 | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
<V> void |
asyncInvokeOnPartition(String serviceName,
Operation op,
int partitionId,
ExecutionCallback<V> callback) |
void |
execute(PartitionSpecificRunnable task)
Executes a PartitionSpecificRunnable.
|
long |
getExecutedOperationCount()
Returns the number of executed operations.
|
int |
getGenericThreadCount()
Returns the number of generic threads.
|
int |
getOperationExecutorQueueSize() |
int |
getPartitionThreadCount()
Returns the number of partition threads.
|
int |
getPriorityOperationExecutorQueueSize() |
int |
getRemoteOperationsCount() |
int |
getResponseQueueSize()
Returns the size of the response queue.
|
int |
getRunningOperationsCount() |
List<SlowOperationDTO> |
getSlowOperationDTOs()
Returns information about long running operations.
|
boolean |
isCallTimedOut(Operation op)
Checks if this call is timed out.
|
boolean |
isRunAllowed(Operation op)
Returns true if the given operation is allowed to run on the calling
thread, false otherwise.
|
createInvocationBuilder, createInvocationBuilder, execute, invokeOnAllPartitions, invokeOnPartition, invokeOnPartition, invokeOnPartitions, invokeOnPartitions, invokeOnTarget, run, send
static final String SERVICE_NAME
int getResponseQueueSize()
int getOperationExecutorQueueSize()
int getPriorityOperationExecutorQueueSize()
int getRunningOperationsCount()
int getRemoteOperationsCount()
long getExecutedOperationCount()
int getPartitionThreadCount()
int getGenericThreadCount()
boolean isCallTimedOut(Operation op)
op
- the operation to check.boolean isRunAllowed(Operation op)
OperationService.run(Operation)
method, otherwise
OperationService.execute(Operation)
should be used.op
- the operation to check.void execute(PartitionSpecificRunnable task)
ClientEngine
when it has received a Packet containing a request that needs to be processed.task
- the task to executeList<SlowOperationDTO> getSlowOperationDTOs()
SlowOperationDTO
instances.<V> void asyncInvokeOnPartition(String serviceName, Operation op, int partitionId, ExecutionCallback<V> callback)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.