public class HLockManagerConfigurator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAUT_LOCK_MANAGER_CF |
| Constructor and Description |
|---|
HLockManagerConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
long |
getBackOffRetryDelayInMillis() |
String |
getKeyspaceName() |
String |
getLockManagerCF() |
long |
getLocksTTLInMillis() |
int |
getMaxSelectSize() |
int |
getNumberOfLockObserverThreads() |
int |
getReplicationFactor() |
boolean |
isRowsCacheEnabled() |
void |
setBackOffRetryDelayInMillis(long backOffRetryDelayInMillis) |
void |
setKeyspaceName(String keyspaceName) |
void |
setLockManagerCF(String lockManagerCF) |
void |
setLocksTTLInMillis(long locksTTLInMillis) |
void |
setMaxSelectSize(int maxSelectSize) |
void |
setNumberOfLockObserverThreads(int numberOfLockObserverThreads) |
void |
setReplicationFactor(int replicationFactor) |
void |
setRowsCacheEnabled(boolean rowsCacheEnabled) |
String |
toString() |
public static final String DEFAUT_LOCK_MANAGER_CF
public String getLockManagerCF()
public void setLockManagerCF(String lockManagerCF)
public boolean isRowsCacheEnabled()
public void setRowsCacheEnabled(boolean rowsCacheEnabled)
public long getLocksTTLInMillis()
public void setLocksTTLInMillis(long locksTTLInMillis)
public long getBackOffRetryDelayInMillis()
public void setBackOffRetryDelayInMillis(long backOffRetryDelayInMillis)
public String getKeyspaceName()
public void setKeyspaceName(String keyspaceName)
public int getReplicationFactor()
public void setReplicationFactor(int replicationFactor)
public int getNumberOfLockObserverThreads()
public void setNumberOfLockObserverThreads(int numberOfLockObserverThreads)
numberOfLockObserverThreads - the numberOfLockObserverThreads to setpublic int getMaxSelectSize()
public void setMaxSelectSize(int maxSelectSize)
maxSelectSize - the maxSelectSize to setCopyright © 2014. All Rights Reserved.