|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LockType | |
|---|---|
| org.terracotta.api | |
| org.terracotta.collections | |
| org.terracotta.locking | |
| Uses of LockType in org.terracotta.api |
|---|
| Methods in org.terracotta.api with parameters of type LockType | |
|---|---|
ClusteredLock |
TerracottaToolkit.createLock(Object monitor,
LockType type)
|
ClusteredLock |
ClusteringToolkit.createLock(Object monitor,
LockType type)
Create a clustered lock around the supplied clustered monitor object. |
| Uses of LockType in org.terracotta.collections |
|---|
| Methods in org.terracotta.collections that return LockType | |
|---|---|
LockType |
ConcurrentDistributedServerMapParameters.getLockType()
|
| Methods in org.terracotta.collections with parameters of type LockType | ||
|---|---|---|
protected
|
ConcurrentDistributedServerMap.initBackend(CacheConfig cacheConfigParam,
LockType lockType,
GenericLockStrategy<L,? super K> lockStrategy,
int concurrency)
|
|
ConcurrentDistributedServerMapParameters<K,L> |
ConcurrentDistributedServerMapParameters.lockType(LockType lockTypeParam)
|
|
void |
ConcurrentDistributedServerMapParameters.setLockType(LockType lockType)
|
|
| Constructors in org.terracotta.collections with parameters of type LockType | |
|---|---|
ConcurrentDistributedMap(LockType lockType,
GenericLockStrategy<L,? super K> lockStrategy,
int concurrency)
|
|
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. |
|
ConcurrentDistributedServerMap(CacheConfig cacheConfig,
LockType lockType,
GenericLockStrategy<L,? super K> lockStrategy,
int concurrency)
|
|
ConcurrentDistributedServerMap(CacheConfig cacheConfig,
LockType lockType,
GenericLockStrategy<L,? super K> lockStrategy,
int concurrency,
boolean invalidateOnChange)
|
|
ConcurrentDistributedServerMap(CacheConfig cacheConfig,
LockType lockType,
GenericLockStrategy<L,? super K> lockStrategy,
int concurrency,
boolean invalidateOnChange,
boolean deleteValueOnRemove)
|
|
ConcurrentDistributedServerMap(CacheConfig cacheConfig,
LockType lockType,
LockStrategy<? super K> lockStrategy)
Creates a new EnterpriseConcurrentDistributedMap 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. |
|
ConcurrentDistributedServerMap(CacheConfig cacheConfig,
LockType lockType,
LockStrategy<? super K> lockStrategy,
int concurrency)
Creates a new EnterpriseConcurrentDistributedMap 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. |
|
ConcurrentDistributedServerMap(LockType lockType,
LockStrategy<? super K> lockStrategy)
Creates a new EnterpriseConcurrentDistributedMap instance that allows the specification of the internal
lock type that should be used when Terracotta DSO is active. |
|
ConcurrentDistributedServerMap(LockType lockType,
LockStrategy<? super K> lockStrategy,
int concurrency)
Creates a new EnterpriseConcurrentDistributedMap 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 |
|
ConcurrentDistributedSet(LockType lockType,
LockStrategy<? super E> lockStrategy)
|
|
ConcurrentDistributedSet(LockType lockType,
LockStrategy<? super E> lockStrategy,
int concurrency)
|
|
EnterpriseConcurrentDistributedMap(CacheConfig cacheConfig,
LockType lockType,
GenericLockStrategy<L,? super K> lockStrategy,
int concurrency)
|
|
EnterpriseConcurrentDistributedMap(CacheConfig cacheConfig,
LockType lockType,
GenericLockStrategy<L,? super K> lockStrategy,
int concurrency,
boolean invalidateOnChange)
|
|
EnterpriseConcurrentDistributedMap(CacheConfig cacheConfig,
LockType lockType,
GenericLockStrategy<L,? super K> lockStrategy,
int concurrency,
boolean invalidateOnChange,
boolean deleteValueOnRemove)
|
|
EnterpriseConcurrentDistributedMap(CacheConfig cacheConfig,
LockType lockType,
LockStrategy<? super K> lockStrategy)
Creates a new EnterpriseConcurrentDistributedMap 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. |
|
EnterpriseConcurrentDistributedMap(CacheConfig cacheConfig,
LockType lockType,
LockStrategy<? super K> lockStrategy,
int concurrency)
Creates a new EnterpriseConcurrentDistributedMap 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. |
|
EnterpriseConcurrentDistributedMap(LockType lockType,
LockStrategy<? super K> lockStrategy)
Creates a new EnterpriseConcurrentDistributedMap instance that allows the specification of the internal
lock type that should be used when Terracotta DSO is active. |
|
EnterpriseConcurrentDistributedMap(LockType lockType,
LockStrategy<? super K> lockStrategy,
int concurrency)
Creates a new EnterpriseConcurrentDistributedMap 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 |
|
| Uses of LockType in org.terracotta.locking |
|---|
| Methods in org.terracotta.locking 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.locking with parameters of type LockType | |
|---|---|
boolean |
ClusteredLock.isHeldByCurrentThread(LockType lockType)
Indicates whether the current thread is holding this lock with the specific lock type. |
boolean |
TerracottaLock.isHeldByCurrentThread(LockType lockType)
|
void |
ClusteredLock.lock(LockType lockType)
Acquires this lock using a specific lock type. |
void |
TerracottaLock.lock(LockType lockType)
|
void |
ClusteredLock.lockInterruptibly(LockType lockType)
Acquires this lock using a specific lock type unless the current thread is interrupted. |
void |
TerracottaLock.lockInterruptibly(LockType lockType)
|
boolean |
ClusteredLock.tryLock(LockType lockType)
Acquires this lock using a specific lock type only if the lock is available at the time of invocation. |
boolean |
TerracottaLock.tryLock(LockType lockType)
|
boolean |
ClusteredLock.tryLock(LockType lockType,
long timeout,
TimeUnit unit)
Acquires this lock using a specific lock type only if it is available within the given time and the current thread has not been interrupted. |
boolean |
TerracottaLock.tryLock(LockType lockType,
long timeout,
TimeUnit unit)
|
void |
ClusteredLock.unlock(LockType lockType)
Releases a lock hold of the specified type. |
void |
TerracottaLock.unlock(LockType lockType)
|
| Constructors in org.terracotta.locking with parameters of type LockType | |
|---|---|
TerracottaLock(Object monitor,
LockType type)
Constructs a lock instance around the given clustered object. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||