Package | Description |
---|---|
org.cache2k.core | |
org.cache2k.core.concurrency |
Modifier and Type | Method and Description |
---|---|
OptimisticLock |
Hash2.getSegmentLock(int _hash) |
Modifier and Type | Class and Description |
---|---|
class |
NonOptimisticLock
Fallback locking mechanism when
StampedLock is not available. |
class |
OptimisticLockStamped
Optimistic lock backed by a Java 8
StampedLock |
Modifier and Type | Method and Description |
---|---|
static OptimisticLock |
Locks.newOptimistic()
Returns a new lock implementation depending on the platform support.
|
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.