Package org.ldaptive.pool
Class IdlePruneStrategy.Builder
- java.lang.Object
-
- org.ldaptive.pool.AbstractPruneStrategy.AbstractBuilder<IdlePruneStrategy.Builder,IdlePruneStrategy>
-
- org.ldaptive.pool.IdlePruneStrategy.Builder
-
- Enclosing class:
- IdlePruneStrategy
public static class IdlePruneStrategy.Builder extends AbstractPruneStrategy.AbstractBuilder<IdlePruneStrategy.Builder,IdlePruneStrategy>
Idle prune strategy builder.
-
-
Field Summary
-
Fields inherited from class org.ldaptive.pool.AbstractPruneStrategy.AbstractBuilder
object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
Creates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdlePruneStrategy.Builder
idle(Duration time)
Sets the prune idle time.protected IdlePruneStrategy.Builder
self()
Returns this builder.-
Methods inherited from class org.ldaptive.pool.AbstractPruneStrategy.AbstractBuilder
build, period
-
-
-
-
Method Detail
-
self
protected IdlePruneStrategy.Builder self()
Description copied from class:AbstractPruneStrategy.AbstractBuilder
Returns this builder.- Specified by:
self
in classAbstractPruneStrategy.AbstractBuilder<IdlePruneStrategy.Builder,IdlePruneStrategy>
- Returns:
- builder
-
idle
public IdlePruneStrategy.Builder idle(Duration time)
Sets the prune idle time.- Parameters:
time
- to set- Returns:
- this builder
-
-