com.hazelcast.spi
Interface WaitSupport

All Known Implementing Classes:
AcquireOperation, AwaitOperation, AwaitOperation, BasePutOperation, BaseRemoveOperation, ContainsEntryOperation, ContainsKeyOperation, CountOperation, DeleteOperation, EntryOperation, EvictOperation, GetAllOperation, GetEntryViewOperation, GetOperation, LockAwareOperation, LockOperation, MergeOperation, MultiMapBackupAwareOperation, OfferOperation, PollOperation, PutIfAbsentOperation, PutOperation, PutOperation, PutTransientOperation, RemoveAllOperation, RemoveIfSameOperation, RemoveOperation, RemoveOperation, ReplaceIfSameOperation, ReplaceOperation, SetOperation, TryPutOperation, TryRemoveOperation, TxnCommitOperation, TxnDeleteOperation, TxnLockAndGetOperation, TxnLockAndGetOperation, TxnPrepareOperation, TxnReserveOfferOperation, TxnReservePollOperation, TxnRollbackOperation, TxnSetOperation, TxnUnlockOperation, WanOriginatedDeleteOperation

public interface WaitSupport

A interface that can be implemented to participate in the Wait/Notify System. See WaitNotifyService.


Method Summary
 WaitNotifyKey getWaitKey()
           
 long getWaitTimeout()
           
 void onWaitExpire()
           
 boolean shouldWait()
           
 

Method Detail

getWaitKey

WaitNotifyKey getWaitKey()

shouldWait

boolean shouldWait()

getWaitTimeout

long getWaitTimeout()

onWaitExpire

void onWaitExpire()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.