public abstract class AbstractLockManager extends Object implements HLockManager
| Modifier and Type | Field and Description |
|---|---|
protected Cluster |
cluster |
protected static String |
DUMMY_VALUE |
protected Keyspace |
keyspace |
protected HLockManagerConfigurator |
lockManagerConfigurator |
| Constructor and Description |
|---|
AbstractLockManager(Cluster cluster) |
AbstractLockManager(Cluster cluster,
HLockManagerConfigurator hlmc) |
AbstractLockManager(Cluster cluster,
Keyspace keyspace) |
AbstractLockManager(Cluster cluster,
Keyspace keyspace,
HLockManagerConfigurator lockManagerConfigurator) |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
getCluster()
the Cluster this Lock Manager is running on
|
Keyspace |
getKeyspace() |
HLockManagerConfigurator |
getLockManagerConfigurator() |
void |
init()
Initializes the Lock Manager.
|
void |
setCluster(Cluster cluster) |
void |
setKeyspace(Keyspace keyspace) |
void |
setLockManagerConfigurator(HLockManagerConfigurator lockManagerConfigurator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquire, acquire, createLock, releaseprotected static final String DUMMY_VALUE
protected Cluster cluster
protected Keyspace keyspace
protected HLockManagerConfigurator lockManagerConfigurator
public AbstractLockManager(Cluster cluster, Keyspace keyspace, HLockManagerConfigurator lockManagerConfigurator)
public AbstractLockManager(Cluster cluster)
public AbstractLockManager(Cluster cluster, HLockManagerConfigurator hlmc)
public void init()
HLockManagerinit in interface HLockManagerpublic Cluster getCluster()
HLockManagergetCluster in interface HLockManagerpublic void setCluster(Cluster cluster)
public Keyspace getKeyspace()
getKeyspace in interface HLockManagerpublic void setKeyspace(Keyspace keyspace)
public HLockManagerConfigurator getLockManagerConfigurator()
getLockManagerConfigurator in interface HLockManagerpublic void setLockManagerConfigurator(HLockManagerConfigurator lockManagerConfigurator)
Copyright © 2014. All Rights Reserved.