public abstract class ConsumerTripOptions extends Object
Configuration that affects active searches set in ConsumerTripManager
.
Nested Class Summary
class | ConsumerTripOptions.Builder | Builder for
ConsumerTripOptions . |
Constant Summary
long | DEFAULT_REFRESH_INTERVAL_MS |
Public Constructor Summary
Public Method Summary
static ConsumerTripOptions.Builder |
builder()
|
abstract long |
getRefreshInterval()
The refresh interval in milliseconds.
|
abstract ConsumerTripOptions.Builder |
Inherited Method Summary
Constants
public static final long DEFAULT_REFRESH_INTERVAL_MS
Constant Value: 1000
Public Constructors
public ConsumerTripOptions ()
Public Methods
public static ConsumerTripOptions.Builder builder ()
public abstract long getRefreshInterval ()
The refresh interval in milliseconds. The trip will automatically refresh and notify registered callbacks of updates on this interval.