Class PooledSender

java.lang.Object
org.apache.catalina.tribes.transport.AbstractSender
org.apache.catalina.tribes.transport.PooledSender
All Implemented Interfaces:
DataSender, MultiPointSender
Direct Known Subclasses:
PooledMultiSender, PooledParallelSender

public abstract class PooledSender extends AbstractSender implements MultiPointSender
  • Field Details

  • Constructor Details

    • PooledSender

      public PooledSender()
  • Method Details

    • getNewDataSender

      public abstract DataSender getNewDataSender()
    • getSender

      public DataSender getSender()
    • returnSender

      public void returnSender(DataSender sender)
    • connect

      public void connect() throws IOException
      Description copied from class: AbstractSender
      connect
      Specified by:
      connect in interface DataSender
      Specified by:
      connect in class AbstractSender
      Throws:
      IOException - TODO Implement this org.apache.catalina.tribes.transport.DataSender method
    • disconnect

      public void disconnect()
      Description copied from class: AbstractSender
      disconnect TODO Implement this org.apache.catalina.tribes.transport.DataSender method
      Specified by:
      disconnect in interface DataSender
      Specified by:
      disconnect in class AbstractSender
    • getInPoolSize

      public int getInPoolSize()
    • getInUsePoolSize

      public int getInUsePoolSize()
    • setPoolSize

      public void setPoolSize(int poolSize)
    • getPoolSize

      public int getPoolSize()
    • getMaxWait

      public long getMaxWait()
    • setMaxWait

      public void setMaxWait(long maxWait)
    • keepalive

      public boolean keepalive()
      Description copied from class: AbstractSender
      keepalive
      Specified by:
      keepalive in interface DataSender
      Overrides:
      keepalive in class AbstractSender
      Returns:
      boolean TODO Implement this org.apache.catalina.tribes.transport.DataSender method
    • add

      public void add(Member member)
      Specified by:
      add in interface MultiPointSender
    • remove

      public void remove(Member member)
      Specified by:
      remove in interface MultiPointSender