me.prettyprint.cassandra.connection
Class BackgroundCassandraHostService

java.lang.Object
  extended by me.prettyprint.cassandra.connection.BackgroundCassandraHostService
Direct Known Subclasses:
CassandraHostRetryService, HostTimeoutTracker, NodeAutoDiscoverService

public abstract class BackgroundCassandraHostService
extends Object


Field Summary
protected  CassandraHostConfigurator cassandraHostConfigurator
           
protected  HConnectionManager connectionManager
           
protected  ScheduledExecutorService executor
           
protected  int retryDelayInSeconds
           
protected  ScheduledFuture<?> sf
           
 
Constructor Summary
BackgroundCassandraHostService(HConnectionManager connectionManager, CassandraHostConfigurator cassandraHostConfigurator)
           
 
Method Summary
 int getRetryDelayInSeconds()
           
 void setRetryDelayInSeconds(int retryDelayInSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

executor

protected final ScheduledExecutorService executor

connectionManager

protected final HConnectionManager connectionManager

cassandraHostConfigurator

protected final CassandraHostConfigurator cassandraHostConfigurator

sf

protected ScheduledFuture<?> sf

retryDelayInSeconds

protected int retryDelayInSeconds
Constructor Detail

BackgroundCassandraHostService

public BackgroundCassandraHostService(HConnectionManager connectionManager,
                                      CassandraHostConfigurator cassandraHostConfigurator)
Method Detail

getRetryDelayInSeconds

public int getRetryDelayInSeconds()

setRetryDelayInSeconds

public void setRetryDelayInSeconds(int retryDelayInSeconds)


Copyright © 2011. All Rights Reserved.