|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalOperationService
This is the interface that needs to be implemented by actual InternalOperationService. Currently there is a single
InternalOperationService: OperationServiceImpl, but in the
future others can be added.
| Method Summary | ||
|---|---|---|
|
asyncInvokeOnPartition(String serviceName,
Operation op,
int partitionId,
ExecutionCallback<V> callback)
|
|
|
asyncInvokeOnTarget(String serviceName,
Operation op,
Address target,
ExecutionCallback<V> callback)
|
|
void |
execute(PartitionSpecificRunnable task)
Executes a PartitionSpecificRunnable. |
|
double |
getInvocationUsagePercentage()
Returns the percentage of the the used invocations. |
|
OperationExecutor |
getOperationExecutor()
Gets the OperationExecutor that is executing operations for this InternalOperationService. |
|
int |
getPendingInvocationCount()
Gets the current number of pending invocations. |
|
List<SlowOperationDTO> |
getSlowOperationDTOs()
Returns information about long running operations. |
|
boolean |
isCallTimedOut(Operation op)
Checks if this call is timed out. |
|
| Method Detail |
|---|
double getInvocationUsagePercentage()
int getPendingInvocationCount()
boolean isCallTimedOut(Operation op)
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 executeOperationExecutor getOperationExecutor()
InternalOperationService.
List<SlowOperationDTO> getSlowOperationDTOs()
SlowOperationDTO instances.
<V> void asyncInvokeOnPartition(String serviceName,
Operation op,
int partitionId,
ExecutionCallback<V> callback)
<V> void asyncInvokeOnTarget(String serviceName,
Operation op,
Address target,
ExecutionCallback<V> callback)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||