Class ConnectParameters
java.lang.Object
io.deephaven.enterprise.niowrapper.sched.ConnectParameters
Created by IntelliJ IDEA. User: jrauser Date: Sep 27, 2006 Time: 9:36:32 AM To change this template use File |
Settings | File Templates.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIf true, the connector maintains a persistent connection (default: false)intIf reconnect is true, interval in millis to wait after the connection is lost before the first reconnection attempt (default: 1 second)intThe number of retries performed when a connection fails (default: 0)intThe interval in millis between a connection failure and the next connect attempt (default: forever)intThe timeout for the actual connection attempt, in millis (default: 30 seconds) -
Constructor Summary
ConstructorsConstructorDescriptionConnectParameters(int timeout, int retries, int retryInterval, boolean reconnect, int reconnectDelay) -
Method Summary
-
Field Details
-
timeout
public int timeoutThe timeout for the actual connection attempt, in millis (default: 30 seconds) -
retries
public int retriesThe number of retries performed when a connection fails (default: 0) -
retryInterval
public int retryIntervalThe interval in millis between a connection failure and the next connect attempt (default: forever) -
reconnect
public boolean reconnectIf true, the connector maintains a persistent connection (default: false) -
reconnectDelay
public int reconnectDelayIf reconnect is true, interval in millis to wait after the connection is lost before the first reconnection attempt (default: 1 second)
-
-
Constructor Details
-
ConnectParameters
public ConnectParameters() -
ConnectParameters
public ConnectParameters(int timeout, int retries, int retryInterval, boolean reconnect, int reconnectDelay)
-