Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package me.prettyprint.cassandra.connection;
 
 
 
 public abstract class BackgroundCassandraHostService {
  protected final HConnectionManager connectionManager;
  protected ScheduledFuture sf;
  protected int retryDelayInSeconds;
      CassandraHostConfigurator cassandraHostConfigurator) {
    this. = connectionManager;
    this. = cassandraHostConfigurator;
    Runtime.getRuntime().addShutdownHook(new Thread() {
      @Override
      public void run() {
        shutdown();
      }
    });
  }
  abstract void shutdown();
  abstract void applyRetryDelay();
  public int getRetryDelayInSeconds() {
    return ;
  }
  public void setRetryDelayInSeconds(int retryDelayInSeconds) {
    this. = retryDelayInSeconds;
  }
New to GrepCode? Check out our FAQ X