public class ProxyInfo
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
int |
bwMonitorTimeoutMillis
The time in milliseconds between consecutive samplings of the connection
state.
|
long |
connectionRetryTimeoutMillis
The time to wait between subsequent reconnection attempts.
|
int |
connectionTimeoutMillis
The maximum elapsed time in milliseconds allowed for a successful
connection attempt.
|
boolean |
onFailedConnectionRetry
The specification of the automatic recovery action to try in case of
asynchronous connection failure.
|
Constructor and Description |
---|
ProxyInfo()
Creates a policy settings bean object with default settings specified.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
public int bwMonitorTimeoutMillis
public int connectionTimeoutMillis
ConnectionInfo.enableStreamSense
)
the timeout set should be far greater than
ConnectionInfo.streamingTimeoutMillis
,
otherwise the connection would be refused before the Stream-sense
has had a chance to recover it.
public boolean onFailedConnectionRetry
public long connectionRetryTimeoutMillis
ConnectionInfo.enableStreamSense
)
the timeout set should be far greater than
ConnectionInfo.streamingTimeoutMillis
,
otherwise a reconnection attempt would be abandoned before the
Stream-sense has had a chance to recover it.