Class ComplexPoolConfig

java.lang.Object
org.smallmind.quorum.pool.PoolConfig<ComplexPoolConfig>
org.smallmind.quorum.pool.complex.ComplexPoolConfig

public class ComplexPoolConfig extends PoolConfig<ComplexPoolConfig>
  • Constructor Details

    • ComplexPoolConfig

      public ComplexPoolConfig()
    • ComplexPoolConfig

      public ComplexPoolConfig(PoolConfig<?> poolConfig)
  • Method Details

    • getConfigurationClass

      public Class<ComplexPoolConfig> getConfigurationClass()
      Specified by:
      getConfigurationClass in class PoolConfig<ComplexPoolConfig>
    • requiresDeconstruction

      public boolean requiresDeconstruction()
    • isReportLeaseTimeNanos

      public boolean isReportLeaseTimeNanos()
    • setReportLeaseTimeNanos

      public ComplexPoolConfig setReportLeaseTimeNanos(boolean reportLeaseTimeNanos)
    • isExistentiallyAware

      public boolean isExistentiallyAware()
    • setExistentiallyAware

      public ComplexPoolConfig setExistentiallyAware(boolean existentiallyAware)
    • isTestOnCreate

      public boolean isTestOnCreate()
    • setTestOnCreate

      public ComplexPoolConfig setTestOnCreate(boolean testOnCreate)
    • isTestOnAcquire

      public boolean isTestOnAcquire()
    • setTestOnAcquire

      public ComplexPoolConfig setTestOnAcquire(boolean testOnAcquire)
    • getInitialPoolSize

      public int getInitialPoolSize()
    • setInitialPoolSize

      public ComplexPoolConfig setInitialPoolSize(int initialPoolSize)
    • getMinPoolSize

      public int getMinPoolSize()
    • setMinPoolSize

      public ComplexPoolConfig setMinPoolSize(int minPoolSize)
    • getCreationTimeoutMillis

      public long getCreationTimeoutMillis()
    • setCreationTimeoutMillis

      public ComplexPoolConfig setCreationTimeoutMillis(long creationTimeoutMillis)
    • getMaxLeaseTimeSeconds

      public int getMaxLeaseTimeSeconds()
    • setMaxLeaseTimeSeconds

      public ComplexPoolConfig setMaxLeaseTimeSeconds(int maxLeaseTimeSeconds)
    • getMaxIdleTimeSeconds

      public int getMaxIdleTimeSeconds()
    • setMaxIdleTimeSeconds

      public ComplexPoolConfig setMaxIdleTimeSeconds(int maxIdleTimeSeconds)
    • getMaxProcessingTimeSeconds

      public int getMaxProcessingTimeSeconds()
    • setMaxProcessingTimeSeconds

      public ComplexPoolConfig setMaxProcessingTimeSeconds(int maxProcessingTimeSeconds)