com.netflix.astyanax.connectionpool
Interface RetryBackoffStrategy.Instance

Enclosing interface:
RetryBackoffStrategy

public static interface RetryBackoffStrategy.Instance


Method Summary
 void begin()
          Start the reconnect process
 int getAttemptCount()
           
 long getNextDelay()
          Return the next backoff delay in the strategy
 void success()
          Called when a connection was established successfully
 void suspend()
          Suspend the host for being bad (i.e.
 

Method Detail

begin

void begin()
Start the reconnect process


success

void success()
Called when a connection was established successfully


getNextDelay

long getNextDelay()
Return the next backoff delay in the strategy

Returns:

suspend

void suspend()
Suspend the host for being bad (i.e. timing out too much)


getAttemptCount

int getAttemptCount()


Copyright © 2012. All Rights Reserved.