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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongmicroSeconds(long length) milliSeconds(long length) seconds(long length) timeUnit()toString()
- 
Constructor Details- 
TimeIntervalCreates a new TimeInterval.- Parameters:
- length- length of the time interval in the units specified by- TimeUnit
- timeUnit- unit used to specify a time interval on which to specify a time unit
 
 
- 
- 
Method Details