org.fluentd.logger.sender
Class ExponentialDelayReconnector
java.lang.Object
org.fluentd.logger.sender.ExponentialDelayReconnector
- All Implemented Interfaces:
- Reconnector
public class ExponentialDelayReconnector
- extends Object
- implements Reconnector
Calcurate exponential delay for reconnecting
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExponentialDelayReconnector
public ExponentialDelayReconnector()
addErrorHistory
public void addErrorHistory(long timestamp)
- Specified by:
addErrorHistory in interface Reconnector
clearErrorHistory
public void clearErrorHistory()
- Specified by:
clearErrorHistory in interface Reconnector
enableReconnection
public boolean enableReconnection(long timestamp)
- Specified by:
enableReconnection in interface Reconnector
Copyright © 2012. All Rights Reserved.