Class StrictMaxPoolConfig

java.lang.Object
org.jboss.as.ejb3.component.pool.PoolConfig
org.jboss.as.ejb3.component.pool.StrictMaxPoolConfig

public class StrictMaxPoolConfig extends PoolConfig
User: Jaikiran Pai
  • Field Details

    • DEFAULT_MAX_POOL_SIZE

      public static final int DEFAULT_MAX_POOL_SIZE
      See Also:
    • DEFAULT_TIMEOUT

      public static final long DEFAULT_TIMEOUT
      See Also:
    • DEFAULT_TIMEOUT_UNIT

      public static final TimeUnit DEFAULT_TIMEOUT_UNIT
  • Constructor Details

    • StrictMaxPoolConfig

      public StrictMaxPoolConfig(String poolName, int maxSize, long timeout, TimeUnit timeUnit)
  • Method Details

    • createPool

      public <T> Pool<T> createPool(StatelessObjectFactory<T> statelessObjectFactory)
      Specified by:
      createPool in class PoolConfig
    • getMaxPoolSize

      public int getMaxPoolSize()
    • setMaxPoolSize

      public void setMaxPoolSize(int maxPoolSize)
    • getTimeoutUnit

      public TimeUnit getTimeoutUnit()
    • setTimeoutUnit

      public void setTimeoutUnit(TimeUnit timeoutUnit)
    • getTimeout

      public long getTimeout()
    • setTimeout

      public void setTimeout(long timeout)
    • toString

      public String toString()
      Overrides:
      toString in class Object