public interface LockingCache<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
<R> R |
executeLockedCallback(KeyLock keyLock,
LockedCallback<K,R> callback) |
boolean |
exists(KeyLock keyLock,
K key) |
V |
get(KeyLock keyLock,
K key,
Object... parameters) |
String |
getCacheName() |
long |
getLockTimeout() |
boolean |
isClosed() |
KeyLock |
lock(KeyLock keyLock,
K key) |
V |
put(KeyLock keyLock,
K key,
V value) |
V |
putIfAbsent(KeyLock keyLock,
K key,
V value) |
V |
remove(KeyLock keyLock,
K key) |
int |
size() |
void |
unlock(KeyLock keyLock,
K key) |
int size()
String getCacheName()
void clear()
boolean isClosed()
void close()
long getLockTimeout()
<R> R executeLockedCallback(KeyLock keyLock, LockedCallback<K,R> callback)
Copyright © 2013. All Rights Reserved.