EvictionConfig

This class is used by pool implementations to pass configuration information to {@link EvictionPolicy} instances. The {@link EvictionPolicy} may also have its own specific configuration attributes. <p> This class is immutable and thread-safe.

Constructors

this
this(long poolIdleEvictTime, long poolIdleSoftEvictTime, int minIdle)

Create a new eviction configuration with the specified parameters. Instances are immutable.

Members

Functions

getIdleEvictTime
long getIdleEvictTime()

Obtain the {@code idleEvictTime} for this eviction configuration instance. <p> How the evictor behaves based on this value will be determined by the configured {@link EvictionPolicy}.

getIdleSoftEvictTime
long getIdleSoftEvictTime()

Obtain the {@code idleSoftEvictTime} for this eviction configuration instance. <p> How the evictor behaves based on this value will be determined by the configured {@link EvictionPolicy}.

getMinIdle
int getMinIdle()

Obtain the {@code minIdle} for this eviction configuration instance. <p> How the evictor behaves based on this value will be determined by the configured {@link EvictionPolicy}.

toString
string toString()

Meta