public class DelegatingClusterLockService extends Object implements ClusterLockService
The intended purpose is to allow applications to instantiate a ManagedClusterLockService
visible only to the application and register this restricted implementation as
the ClusterLockService that is available to add-ons.
| Constructor and Description |
|---|
DelegatingClusterLockService(ClusterLockService delegate) |
| Modifier and Type | Method and Description |
|---|---|
ClusterLock |
getLockForName(String lockName)
Returns the cluster-wide lock for the given name.
|
public DelegatingClusterLockService(ClusterLockService delegate)
public ClusterLock getLockForName(@Nonnull String lockName)
ClusterLockServicegetLockForName in interface ClusterLockServicelockName - the globally unique lock identifierCopyright © 2019 Atlassian. All rights reserved.