public static class KafkaSpoutRetryExponentialBackoff.TimeInterval extends Object implements Serializable
Constructor and Description |
---|
TimeInterval(long length,
TimeUnit timeUnit)
Creates a new TimeInterval.
|
Modifier and Type | Method and Description |
---|---|
long |
lengthNanos() |
static KafkaSpoutRetryExponentialBackoff.TimeInterval |
microSeconds(long length) |
static KafkaSpoutRetryExponentialBackoff.TimeInterval |
milliSeconds(long length) |
static KafkaSpoutRetryExponentialBackoff.TimeInterval |
seconds(long length) |
TimeUnit |
timeUnit() |
String |
toString() |
public static KafkaSpoutRetryExponentialBackoff.TimeInterval seconds(long length)
public static KafkaSpoutRetryExponentialBackoff.TimeInterval milliSeconds(long length)
public static KafkaSpoutRetryExponentialBackoff.TimeInterval microSeconds(long length)
public long lengthNanos()
public TimeUnit timeUnit()
Copyright © 2023 The Apache Software Foundation. All rights reserved.