me.prettyprint.hector.api.locking
Class HLockManagerConfigurator

java.lang.Object
  extended by me.prettyprint.hector.api.locking.HLockManagerConfigurator

public class HLockManagerConfigurator
extends Object

Author:
patricioe (Patricio Echague - patricioe@gmail.com), tnine (Todd Nine)

Field Summary
static String DEFAUT_LOCK_MANAGER_CF
           
 
Constructor Summary
HLockManagerConfigurator()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAUT_LOCK_MANAGER_CF

public static final String DEFAUT_LOCK_MANAGER_CF
See Also:
Constant Field Values
Constructor Detail

HLockManagerConfigurator

public HLockManagerConfigurator()
Method Detail

getLockManagerCF

public String getLockManagerCF()

setLockManagerCF

public void setLockManagerCF(String lockManagerCF)

isRowsCacheEnabled

public boolean isRowsCacheEnabled()

setRowsCacheEnabled

public void setRowsCacheEnabled(boolean rowsCacheEnabled)

getLocksTTLInMillis

public long getLocksTTLInMillis()

setLocksTTLInMillis

public void setLocksTTLInMillis(long locksTTLInMillis)

getBackOffRetryDelayInMillis

public long getBackOffRetryDelayInMillis()

setBackOffRetryDelayInMillis

public void setBackOffRetryDelayInMillis(long backOffRetryDelayInMillis)

getKeyspaceName

public String getKeyspaceName()

setKeyspaceName

public void setKeyspaceName(String keyspaceName)

getReplicationFactor

public int getReplicationFactor()

setReplicationFactor

public void setReplicationFactor(int replicationFactor)

getNumberOfLockObserverThreads

public int getNumberOfLockObserverThreads()
Returns:
the numberOfLockObserverThreads

setNumberOfLockObserverThreads

public void setNumberOfLockObserverThreads(int numberOfLockObserverThreads)
Parameters:
numberOfLockObserverThreads - the numberOfLockObserverThreads to set

getMaxSelectSize

public int getMaxSelectSize()
Returns:
the maxSelectSize

setMaxSelectSize

public void setMaxSelectSize(int maxSelectSize)
Parameters:
maxSelectSize - the maxSelectSize to set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.