Package org.ldaptive.pool
Class AbstractPruneStrategy.AbstractBuilder<B,T extends AbstractPruneStrategy>
- java.lang.Object
-
- org.ldaptive.pool.AbstractPruneStrategy.AbstractBuilder<B,T>
-
- Type Parameters:
B
- type of builderT
- type of validator
- Direct Known Subclasses:
IdlePruneStrategy.Builder
- Enclosing class:
- AbstractPruneStrategy
protected abstract static class AbstractPruneStrategy.AbstractBuilder<B,T extends AbstractPruneStrategy> extends Object
Base class for prune strategy builders.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder(T t)
Creates a new abstract builder.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
build()
Returns the prune strategy.B
period(Duration period)
Sets the prune period.protected abstract B
self()
Returns this builder.
-
-
-
Field Detail
-
object
protected final T extends AbstractPruneStrategy object
Prune strategy to build.
-
-
Constructor Detail
-
AbstractBuilder
protected AbstractBuilder(T t)
Creates a new abstract builder.- Parameters:
t
- validator to build
-
-