public interface TcpTimeouts
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TcpTimeouts.Factory
Factory used to create TcpTimeouts instances.
|
static interface |
TcpTimeouts.Waiter
Interface used to represent a series of timeout values using
exponential backoff.
|
| Modifier and Type | Field and Description |
|---|---|
static TcpTimeouts.Factory |
factory |
| Modifier and Type | Method and Description |
|---|---|
int |
get_backoff_factor()
Return the backoff factor, which is the percentage multiplier used
to compute the next timeout in the Waiter.advance method.
|
int |
get_initial_time_to_wait()
Return the initial time to wait on the first getTime or sleepTime
call on a new Waiter instance.
|
int |
get_max_single_wait_time()
Get the maximum time a single sleepTime or getTime can taoke or return
in an instance of Waiter.
|
int |
get_max_time_to_wait()
Get the maximum total time a Waiter can exist before isExpired returns
true.
|
TcpTimeouts.Waiter |
waiter()
Return a Waiter that can be used for computing a series
of timeouts.
|
static final TcpTimeouts.Factory factory
int get_initial_time_to_wait()
int get_max_time_to_wait()
int get_max_single_wait_time()
int get_backoff_factor()
TcpTimeouts.Waiter waiter()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.