org.apache.accumulo.fate.zookeeper
Class RetryFactory

java.lang.Object
  extended by org.apache.accumulo.fate.zookeeper.RetryFactory

public class RetryFactory
extends Object

Creates Retry instances with the given parameters


Field Summary
static RetryFactory DEFAULT_INSTANCE
           
static long DEFAULT_MAX_RETRIES
           
static long DEFAULT_MAX_WAIT
           
static long DEFAULT_START_WAIT
           
static long DEFAULT_WAIT_INCREMENT
           
 
Constructor Summary
RetryFactory(long maxRetries, long startWait, long waitIncrement, long maxWait)
           
 
Method Summary
 Retry create()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_RETRIES

public static final long DEFAULT_MAX_RETRIES
See Also:
Constant Field Values

DEFAULT_START_WAIT

public static final long DEFAULT_START_WAIT
See Also:
Constant Field Values

DEFAULT_WAIT_INCREMENT

public static final long DEFAULT_WAIT_INCREMENT
See Also:
Constant Field Values

DEFAULT_MAX_WAIT

public static final long DEFAULT_MAX_WAIT
See Also:
Constant Field Values

DEFAULT_INSTANCE

public static final RetryFactory DEFAULT_INSTANCE
Constructor Detail

RetryFactory

public RetryFactory(long maxRetries,
                    long startWait,
                    long waitIncrement,
                    long maxWait)
Method Detail

create

public Retry create()


Copyright © 2015 Apache Accumulo Project. All rights reserved.