me.prettyprint.cassandra.locking
Class AbstractLockManager
java.lang.Object
me.prettyprint.cassandra.locking.AbstractLockManager
- All Implemented Interfaces:
- HLockManager
- Direct Known Subclasses:
- HLockManagerImpl
public abstract class AbstractLockManager
- extends Object
- implements HLockManager
- Author:
- patricioe (Patricio Echague - patricioe@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DUMMY_VALUE
protected static final String DUMMY_VALUE
- See Also:
- Constant Field Values
cluster
protected Cluster cluster
keyspace
protected Keyspace keyspace
lockManagerConfigurator
protected HLockManagerConfigurator lockManagerConfigurator
AbstractLockManager
public AbstractLockManager(Cluster cluster,
Keyspace keyspace,
HLockManagerConfigurator lockManagerConfigurator)
AbstractLockManager
public AbstractLockManager(Cluster cluster)
AbstractLockManager
public AbstractLockManager(Cluster cluster,
HLockManagerConfigurator hlmc)
AbstractLockManager
public AbstractLockManager(Cluster cluster,
Keyspace keyspace)
init
public void init()
- Description copied from interface:
HLockManager
- Initializes the Lock Manager.
- Specified by:
init in interface HLockManager
getCluster
public Cluster getCluster()
- Description copied from interface:
HLockManager
- the Cluster this Lock Manager is running on
- Specified by:
getCluster in interface HLockManager
- Returns:
setCluster
public void setCluster(Cluster cluster)
getKeyspace
public Keyspace getKeyspace()
- Specified by:
getKeyspace in interface HLockManager
- Returns:
- The keyspace associated to this lock manager
setKeyspace
public void setKeyspace(Keyspace keyspace)
getLockManagerConfigurator
public HLockManagerConfigurator getLockManagerConfigurator()
- Specified by:
getLockManagerConfigurator in interface HLockManager
- Returns:
- the configuration of this Lock Manager.
setLockManagerConfigurator
public void setLockManagerConfigurator(HLockManagerConfigurator lockManagerConfigurator)
Copyright © 2013. All Rights Reserved.