org.apache.accumulo.fate.zookeeper
Class RetryFactory
java.lang.Object
org.apache.accumulo.fate.zookeeper.RetryFactory
public class RetryFactory
- extends Object
Creates Retry instances with the given parameters
|
Constructor Summary |
RetryFactory(long maxRetries,
long startWait,
long waitIncrement,
long maxWait)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
RetryFactory
public RetryFactory(long maxRetries,
long startWait,
long waitIncrement,
long maxWait)
create
public Retry create()
Copyright © 2015 Apache Accumulo Project. All rights reserved.