|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LockType | |
|---|---|
| org.terracotta.collections | |
| org.terracotta.modules.concurrent.collections | |
| org.terracotta.modules.ehcache.store | |
| Uses of LockType in org.terracotta.collections |
|---|
| Methods in org.terracotta.collections that return LockType | |
|---|---|
static LockType |
LockType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LockType[] |
LockType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in org.terracotta.collections with parameters of type LockType | |
|---|---|
boolean |
FinegrainedLockNoDso.isHeldByCurrentThread(LockType lockType)
|
boolean |
FinegrainedLock.isHeldByCurrentThread(LockType lockType)
Indicates whether the current thread is holding a lock that corresponds to this granularity and specified lock type. |
boolean |
FinegrainedLockDso.isHeldByCurrentThread(LockType lockType)
|
void |
FinegrainedLockNoDso.lock(LockType lockType)
|
void |
FinegrainedLock.lock(LockType lockType)
Lock the underlying data structure for this lock's granularity with a specified lock type. |
void |
FinegrainedLockDso.lock(LockType lockType)
|
boolean |
FinegrainedLockNoDso.tryLock(LockType lockType)
|
boolean |
FinegrainedLock.tryLock(LockType lockType)
Lock the underlying data structure for this lock's granularity with a specified lock type only if the lock is not held by another thread at the time of invocation. |
boolean |
FinegrainedLockDso.tryLock(LockType lockType)
|
boolean |
FinegrainedLockNoDso.tryLock(LockType lockType,
long timeout,
TimeUnit unit)
|
boolean |
FinegrainedLock.tryLock(LockType lockType,
long timeout,
TimeUnit unit)
Lock the underlying data structure for this lock's granularity with a specified lock type only if the lock is not held by another thread within a given time. |
boolean |
FinegrainedLockDso.tryLock(LockType lockType,
long timeout,
TimeUnit unit)
|
void |
FinegrainedLockNoDso.unlock(LockType lockType)
|
void |
FinegrainedLock.unlock(LockType lockType)
Unlocks the underlying data structure for this lock's granularity using the specified lock type. |
void |
FinegrainedLockDso.unlock(LockType lockType)
|
| Constructors in org.terracotta.collections with parameters of type LockType | |
|---|---|
ConcurrentDistributedMap(LockType lockType,
LockStrategy<? super K> lockStrategy)
Creates a new ConcurrentDistributedMap instance that allows the specification of the internal lock type
that should be used when Terracotta DSO is active. |
|
ConcurrentDistributedMap(LockType lockType,
LockStrategy<? super K> lockStrategy,
int concurrency)
Creates a new ConcurrentDistributedMap instance that allows the specification of the internal lock type
that should be used when Terracotta DSO is active and the concurrency of internal data structures. |
|
ConcurrentDistributedMapDso(LockType lockType,
LockStrategy<? super K> lockingStrategy)
|
|
ConcurrentDistributedSet(LockType lockType,
LockStrategy<? super E> lockStrategy)
|
|
ConcurrentDistributedSet(LockType lockType,
LockStrategy<? super E> lockStrategy,
int concurrency)
|
|
| Uses of LockType in org.terracotta.modules.concurrent.collections |
|---|
| Constructors in org.terracotta.modules.concurrent.collections with parameters of type LockType | |
|---|---|
ConcurrentStringMap(LockType lockType,
LockStrategy<? super String> lockStrategy)
Deprecated. |
|
| Uses of LockType in org.terracotta.modules.ehcache.store |
|---|
| Constructors in org.terracotta.modules.ehcache.store with parameters of type LockType | |
|---|---|
ClusteredStoreBackend(LockType lockType,
CacheConfig config,
net.sf.ehcache.event.RegisteredEventListeners listeners)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||