Counter
, DistributedDataStructure
, DistributedHashSet<T>
, DistributedList<T>
, DistributedMap<K,V>
, DistributedQueue<T>
public interface Lockable
Modifier and Type | Method | Description |
---|---|---|
boolean |
lock(TimeSpan timeout) |
Acquire a lock on an collection in cache.
|
void |
unlock() |
Unlock a locked collection
|
boolean lock(TimeSpan timeout)
timeout
- The timeout after which lock will be automatically released.void unlock()