Package org.apache.storm.kafka.spout
Class KafkaSpoutRetryExponentialBackoff.TimeInterval
java.lang.Object
org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff.TimeInterval
- All Implemented Interfaces:
Serializable
- Enclosing class:
- KafkaSpoutRetryExponentialBackoff
public static class KafkaSpoutRetryExponentialBackoff.TimeInterval
extends Object
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongmicroSeconds(long length) milliSeconds(long length) seconds(long length) timeUnit()toString()
-
Constructor Details
-
TimeInterval
Creates a new TimeInterval.- Parameters:
length- length of the time interval in the units specified byTimeUnittimeUnit- unit used to specify a time interval on which to specify a time unit
-
-
Method Details