Class ConnectParameters

java.lang.Object
io.deephaven.enterprise.niowrapper.sched.ConnectParameters

public class ConnectParameters extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    boolean
    If true, the connector maintains a persistent connection (default: false)
    int
    If reconnect is true, interval in millis to wait after the connection is lost before the first reconnection attempt (default: 1 second)
    int
    The number of retries performed when a connection fails (default: 0)
    int
    The interval in millis between a connection failure and the next connect attempt (default: forever)
    int
    The timeout for the actual connection attempt, in millis (default: 30 seconds)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ConnectParameters(int timeout, int retries, int retryInterval, boolean reconnect, int reconnectDelay)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • timeout

      public int timeout
      The timeout for the actual connection attempt, in millis (default: 30 seconds)
    • retries

      public int retries
      The number of retries performed when a connection fails (default: 0)
    • retryInterval

      public int retryInterval
      The interval in millis between a connection failure and the next connect attempt (default: forever)
    • reconnect

      public boolean reconnect
      If true, the connector maintains a persistent connection (default: false)
    • reconnectDelay

      public int reconnectDelay
      If 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)