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
-
Method Summary
Modifier and TypeMethodDescriptionlong
microSeconds
(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 byTimeUnit
timeUnit
- unit used to specify a time interval on which to specify a time unit
-
-
Method Details