Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » cluster » tcp » [javadoc | source]
org.apache.catalina.cluster.tcp
public class: PooledSocketSender [javadoc | source]
java.lang.Object
   org.apache.catalina.cluster.tcp.DataSender
      org.apache.catalina.cluster.tcp.PooledSocketSender

All Implemented Interfaces:
    IDataSender

Send cluster messages with a pool of sockets (25). FIXME support processing stats
Fields inherited from org.apache.catalina.cluster.tcp.DataSender:
sm,  nrOfRequests,  totalBytes,  connectCounter,  disconnectCounter,  missingAckCounter,  dataResendCounter,  dataFailureCounter,  doProcessingStats,  processingTime,  minProcessingTime,  maxProcessingTime,  doWaitAckStats,  waitAckTime,  minWaitAckTime,  maxWaitAckTime,  keepAliveConnectTime,  keepAliveCount
Constructor:
 public PooledSocketSender(String domain,
    InetAddress host,
    int port) 
    Parameters:
    domain - replication cluster domain (session domain)
    host - replication node tcp address
    port - replication node tcp port
Method from org.apache.catalina.cluster.tcp.PooledSocketSender Summary:
connect,   disconnect,   getInPoolSize,   getInUsePoolSize,   getInfo,   getMaxPoolSocketLimit,   sendMessage,   setMaxPoolSocketLimit,   toString
Methods from org.apache.catalina.cluster.tcp.DataSender:
addProcessingStats,   addStats,   addWaitAckStats,   checkKeepAlive,   closeSocket,   connect,   createSocket,   disconnect,   getAckTimeout,   getAddress,   getAvgMessageSize,   getAvgProcessingTime,   getAvgWaitAckTime,   getConnectCounter,   getDataFailureCounter,   getDataResendCounter,   getDisconnectCounter,   getDomain,   getInfo,   getKeepAliveConnectTime,   getKeepAliveCount,   getKeepAliveMaxRequestCount,   getKeepAliveTimeout,   getMaxProcessingTime,   getMaxWaitAckTime,   getMinProcessingTime,   getMinWaitAckTime,   getMissingAckCounter,   getNrOfRequests,   getPort,   getProcessingTime,   getSocket,   getSocketCloseCounter,   getSocketOpenCounter,   getSocketOpenFailureCounter,   getSuspect,   getTotalBytes,   getWaitAckTime,   isConnected,   isDoProcessingStats,   isDoWaitAckStats,   isMessageTransferStarted,   isResend,   isSuspect,   isWaitForAck,   openSocket,   pushMessage,   resetStatistics,   sendMessage,   setAckTimeout,   setAddress,   setDoProcessingStats,   setDoWaitAckStats,   setDomain,   setKeepAliveMaxRequestCount,   setKeepAliveTimeout,   setPort,   setResend,   setSocket,   setSocketConnected,   setSuspect,   setWaitForAck,   toString,   waitForAck,   writeData
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.cluster.tcp.PooledSocketSender Detail:
 public synchronized  void connect() throws IOException 
 public synchronized  void disconnect() 
 public int getInPoolSize() 
 public int getInUsePoolSize() 
 public String getInfo() 
    Return descriptive information about this implementation and the corresponding version number, in the format <description>/<version>.
 public int getMaxPoolSocketLimit() 
 public  void sendMessage(ClusterData data) throws IOException 
    send message and use a pool of SocketSenders
 public  void setMaxPoolSocketLimit(int limit) 
 public String toString()