Package | Description |
---|---|
org.jboss.as.clustering.lock |
Modifier and Type | Method and Description |
---|---|
SharedLocalYieldingClusterLockManager.LockResult |
SharedLocalYieldingClusterLockManager.lock(Serializable lockName,
long timeout)
Acquire the given lock.
|
SharedLocalYieldingClusterLockManager.LockResult |
SharedLocalYieldingClusterLockManager.lock(Serializable lockName,
long timeout,
boolean newLock)
Acquire the given lock.
|
void |
LocalLockHandler.lockFromCluster(Serializable lockName,
ClusterNode caller,
long timeout)
Try to acquire the local lock within the given timeout.
|
void |
LocalAndClusterLockManager.lockGlobally(Serializable lockName,
long timeout)
Acquires a globally exclusive cluster-wide lock, blocking if another thread is holding it locally, another node is
holding it, or if the local lock is held on any node in the cluster.
|
void |
LocalAndClusterLockManager.lockLocally(Serializable lockName,
long timeout)
Acquires a local lock, blocking if another thread is holding it or if the global, cluster-wide lock is held.
|
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.