public class IsStillRunningService extends Object
| Constructor and Description |
|---|
IsStillRunningService(OperationExecutor operationExecutor,
NodeEngineImpl nodeEngine,
ILogger logger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOperationExecuting(Address callerAddress,
int partitionId,
long operationCallId)
Checks if an operation is still running.
|
boolean |
isOperationExecuting(Address callerAddress,
String callerUuid,
String serviceName,
Object identifier)
Checks if an operation is still running.
|
boolean |
isOperationExecuting(com.hazelcast.spi.impl.operationservice.impl.Invocation invocation)
Checks if an operation is still running.
|
void |
timeoutInvocationIfNotExecuting(com.hazelcast.spi.impl.operationservice.impl.Invocation invocation)
Sets operation timeout to invocation result if the operation is not running.
|
public IsStillRunningService(OperationExecutor operationExecutor, NodeEngineImpl nodeEngine, ILogger logger)
public boolean isOperationExecuting(com.hazelcast.spi.impl.operationservice.impl.Invocation invocation)
invocation - The invocation for this operation.public void timeoutInvocationIfNotExecuting(com.hazelcast.spi.impl.operationservice.impl.Invocation invocation)
invocation - The invocation to checkpublic boolean isOperationExecuting(Address callerAddress, String callerUuid, String serviceName, Object identifier)
callerAddress - The caller address for this operation.callerUuid - The caller Uuid for this operation.serviceName - The service name for this operation.identifier - The object identifier for this operation.public boolean isOperationExecuting(Address callerAddress, int partitionId, long operationCallId)
callerAddress - The caller address for this operation.partitionId - The id of the partition where this operation resides.operationCallId - The call id for this operation.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.