This project has retired. For details please refer to its
Attic page.
CappedExponentialCounter (Apache Crunch 0.9.0 API)
org.apache.crunch.impl.mr.exec
Class CappedExponentialCounter
java.lang.Object
org.apache.crunch.impl.mr.exec.CappedExponentialCounter
public class CappedExponentialCounter
- extends Object
Generate a series of capped numbers exponentially.
It is used for creating retry intervals. It is NOT thread-safe.
Method Summary |
long |
get()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CappedExponentialCounter
public CappedExponentialCounter(long start,
long limit)
get
public long get()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.