Package | Description |
---|---|
net.sf.ehcache.hibernate.strategy |
This package contains EhCache specific AccessStrategy implementations.
|
Modifier and Type | Method and Description |
---|---|
AbstractReadWriteEhcacheAccessStrategy.Lock |
AbstractReadWriteEhcacheAccessStrategy.Lockable.lock(long timeout,
java.util.UUID uuid,
long lockId)
Locks this entry, stamping it with the UUID and lockId given, with the lock timeout occuring at the specified
time.
|
AbstractReadWriteEhcacheAccessStrategy.Lock |
AbstractReadWriteEhcacheAccessStrategy.Item.lock(long timeout,
java.util.UUID uuid,
long lockId)
Locks this entry, stamping it with the UUID and lockId given, with the lock timeout occuring at the specified
time.
|
AbstractReadWriteEhcacheAccessStrategy.Lock |
AbstractReadWriteEhcacheAccessStrategy.Lock.lock(long timeout,
java.util.UUID uuid,
long lockId)
Locks this entry, stamping it with the UUID and lockId given, with the lock timeout occuring at the specified
time.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractReadWriteEhcacheAccessStrategy.decrementLock(java.lang.Object key,
AbstractReadWriteEhcacheAccessStrategy.Lock lock)
Unlock and re-put the given key, lock combination.
|
private void |
AbstractReadWriteEhcacheAccessStrategy.putLock(java.lang.Object key,
AbstractReadWriteEhcacheAccessStrategy.Lock newLock) |