Package org.ldaptive.pool
Class IdlePruneStrategy.Builder
java.lang.Object
org.ldaptive.pool.AbstractPruneStrategy.AbstractBuilder<AgePruneStrategy.Builder,AgePruneStrategy>
org.ldaptive.pool.AgePruneStrategy.Builder
org.ldaptive.pool.IdlePruneStrategy.Builder
- Enclosing class:
- IdlePruneStrategy
Idle prune strategy builder.
-
Field Summary
Fields inherited from class org.ldaptive.pool.AbstractPruneStrategy.AbstractBuilder
object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the prune age time.Sets the prune idle time.Sets the prune period.priority(int i) Sets the prune priority.priorityFactor(int i) Sets the prune priority factor.protected IdlePruneStrategy.Builderself()Returns this builder.Methods inherited from class org.ldaptive.pool.AbstractPruneStrategy.AbstractBuilder
build, freeze
-
Constructor Details
-
Builder
protected Builder()Creates a new builder.
-
-
Method Details
-
self
Description copied from class:AbstractPruneStrategy.AbstractBuilderReturns this builder.- Overrides:
selfin classAgePruneStrategy.Builder- Returns:
- builder
-
idle
Sets the prune idle time.- Parameters:
time- to set- Returns:
- this builder
-
period
Description copied from class:AbstractPruneStrategy.AbstractBuilderSets the prune period.- Overrides:
periodin classAbstractPruneStrategy.AbstractBuilder<AgePruneStrategy.Builder,AgePruneStrategy> - Parameters:
time- to set- Returns:
- this builder
-
age
Description copied from class:AgePruneStrategy.BuilderSets the prune age time.- Overrides:
agein classAgePruneStrategy.Builder- Parameters:
time- to set- Returns:
- this builder
-
priority
Description copied from class:AgePruneStrategy.BuilderSets the prune priority.- Overrides:
priorityin classAgePruneStrategy.Builder- Parameters:
i- prune priority- Returns:
- this builder
-
priorityFactor
Description copied from class:AgePruneStrategy.BuilderSets the prune priority factor.- Overrides:
priorityFactorin classAgePruneStrategy.Builder- Parameters:
i- prune priority factor- Returns:
- this builder
-