long initMs = FlumeConfiguration.get().getInsistentOpenInitBackoff();
long cumulativeMaxMs = FlumeConfiguration.get()
.getFailoverMaxCumulativeBackoff();
long maxMs = FlumeConfiguration.get().getFailoverMaxSingleBackoff();
BackoffPolicy backoff1 = new CumulativeCappedExponentialBackoff(initMs,
maxMs, cumulativeMaxMs);
BackoffPolicy backoff2 = new CumulativeCappedExponentialBackoff(initMs,
maxMs, cumulativeMaxMs);
// the collector snk has ack checking logic, retry and reopen logic, and
// needs an extra mask before rolling, writing to disk and forwarding acks
// (roll detect).