com.wrq.vhi.sconfig
Class SessionPool

java.lang.Object
  extended by com.wrq.vhi.sconfig.SessionPool
All Implemented Interfaces:
java.io.Serializable

public final class SessionPool
extends java.lang.Object
implements java.io.Serializable

Container class for accessing information about session pools defined on a VHI server.

See Also:
Serialized Form

Constructor Summary
SessionPool(java.lang.String sessionPoolName, int minPoolCount, int maxPoolCount, java.lang.String modelName, java.lang.String startupEntityName, java.lang.String hostName, int hostPort)
          Constructor
 
Method Summary
 java.lang.String getHostName()
          Get the host name for the model this session pool is based on.
 int getHostPort()
          Get the host TCP port for the model this session pool is based on.
 int getMaxPoolCount()
          Get the maximum session count for this pool.
 int getMinPoolCount()
          Get the minimum session count for this pool.
 java.lang.String getModelName()
          Get the name of the model this session pool is based on.
 java.lang.String getSessionPoolName()
          Get the name of this session pool.
 java.lang.String getStartupEntityName()
          Get the name of the startup entity for the model this session pool is based on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionPool

public SessionPool(java.lang.String sessionPoolName,
                   int minPoolCount,
                   int maxPoolCount,
                   java.lang.String modelName,
                   java.lang.String startupEntityName,
                   java.lang.String hostName,
                   int hostPort)
Constructor

Parameters:
sessionPoolName - Name of the session pool.
minPoolCount - Minimum number of sessions for this pool.
maxPoolCount - Maximum number of sessions for this pool.
modelName - Name of the model for this pool.
startupEntityName - Name of the startup entity for the model this pool is based on.
hostName - Name of the host for model this pool is based on.
hostPort - host TCP port for the model this pool is based on.
Method Detail

getSessionPoolName

public java.lang.String getSessionPoolName()
Get the name of this session pool.

Returns:
Name of this session pool.

getMinPoolCount

public int getMinPoolCount()
Get the minimum session count for this pool.

Returns:
The minimum session count for this pool.

getMaxPoolCount

public int getMaxPoolCount()
Get the maximum session count for this pool.

Returns:
The maximum session count for this pool.

getModelName

public java.lang.String getModelName()
Get the name of the model this session pool is based on.

Returns:
Name of the model this session pool is based on.

getStartupEntityName

public java.lang.String getStartupEntityName()
Get the name of the startup entity for the model this session pool is based on.

Returns:
Name of the startup Entity for the model this session pool is based on.

getHostName

public java.lang.String getHostName()
Get the host name for the model this session pool is based on.

Returns:
Host name for the model this session pool is based on.

getHostPort

public int getHostPort()
Get the host TCP port for the model this session pool is based on.

Returns:
Host TCP port for the model this session pool is based on.