public interface CanCancelOperations
boolean cancelOperation(Address caller, long callId)
falseand the caller will proceed to ask other services about it.
true consumes the cancellation signal only in this round of processing an
Operation Control packet; the same signal will be re-sent with the next packet, until the operation is
removed from the Invocation Registry. Therefore it is safe to return
true whenever the service
recognizes the call ID as one it's responsible for, whether or not it actually manages
to cancel the operation now.
caller- address of the member which sent the operation
callId- call ID of the operation
trueif the supplied call ID is known to this service;
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.