Class JMapServerRemoteConnectionPoolInfo

java.lang.Object
com.kheops.jmap.metadata.LocalizedObject
com.kheops.jmap.metadata.JMapObject
com.kheops.jmap.server.JMapServerRemoteConnectionPoolInfo
All Implemented Interfaces:
Serializable, Cloneable

public class JMapServerRemoteConnectionPoolInfo extends JMapObject implements Cloneable
See Also:
  • Field Details

  • Constructor Details

    • JMapServerRemoteConnectionPoolInfo

      public JMapServerRemoteConnectionPoolInfo()
    • JMapServerRemoteConnectionPoolInfo

      public JMapServerRemoteConnectionPoolInfo(int id, String name, String host, int port, String username, String password, int poolSize)
    • JMapServerRemoteConnectionPoolInfo

      public JMapServerRemoteConnectionPoolInfo(int id, String name, String host, int port, String username, String password, int poolSize, long timeout)
  • Method Details

    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getPoolSize

      public int getPoolSize()
    • setPoolSize

      public void setPoolSize(int poolSize)
    • getPoolMaxSize

      public int getPoolMaxSize()
    • setPoolMaxSize

      public void setPoolMaxSize(int poolMaxSize)
    • getTimeout

      public long getTimeout()
    • setTimeout

      public void setTimeout(long timeout)
    • getId

      public int getId()
    • setId

      public void setId(int id)
    • getLastException

      public Exception getLastException()
    • setLastException

      public void setLastException(Exception lastException)
    • getStatus

      public int getStatus()
    • setStatus

      public void setStatus(int status)
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • getConnectionTypeStr

      public String getConnectionTypeStr()
      Gets the connection type (direct or proxy)
    • setConnectionTypeStr

      public void setConnectionTypeStr(String connectionTypeStr)
      Sets the connection type (direct or proxy)
    • getRecyclePeriod

      public long getRecyclePeriod()
      This method returns the period (milliseconds) to wait before recycling the ConnectionPool connections.
      Returns:
      the period in milliseconds
    • setRecyclePeriod

      public void setRecyclePeriod(long recyclePeriod)
      This method sets the period (milliseconds) to wait before recycling the ConnectionPool connections.
      Parameters:
      recyclePeriod - the recycle period time in milliseconds
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class JMapObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class JMapObject
    • getProxyProtocolStr

      public String getProxyProtocolStr()
      Gets the proxy protocol
    • setProxyProtocolStr

      public void setProxyProtocolStr(String proxyProtocolStr)
      sets the proxy protocol (http or https)
    • getProxyRelativePath

      public String getProxyRelativePath()
      Gets the relative proxy path
    • setProxyRelativePath

      public void setProxyRelativePath(String proxyRelativePath)
      Sets the relate proxy path
    • getProxyPort

      public int getProxyPort()
    • setProxyPort

      public void setProxyPort(int proxyPort)
    • toString

      public String toString()
      Overrides:
      toString in class Object