I - The type of results supplied by this builder.T - The type of the object managed by the initializer class.B - The type of builder.E - The exception type thrown by AbstractConcurrentInitializer.initialize().public abstract static class AbstractConcurrentInitializer.AbstractBuilder<I extends AbstractConcurrentInitializer<T,E>,T,B extends AbstractConcurrentInitializer.AbstractBuilder<I,T,B,E>,E extends Exception> extends AbstractSupplier<I,B,E>
NUL| Constructor and Description |
|---|
AbstractBuilder()
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
FailableConsumer<T,? extends Exception> |
getCloser()
Gets the closer consumer called by
AbstractConcurrentInitializer.close(). |
FailableSupplier<T,? extends Exception> |
getInitializer()
Gets the initializer supplier called by
AbstractConcurrentInitializer.initialize(). |
B |
setCloser(FailableConsumer<T,? extends Exception> closer)
Sets the closer consumer called by
AbstractConcurrentInitializer.close(). |
B |
setInitializer(FailableSupplier<T,? extends Exception> initializer)
Sets the initializer supplier called by
AbstractConcurrentInitializer.initialize(). |
asThisclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, nulpublic FailableConsumer<T,? extends Exception> getCloser()
AbstractConcurrentInitializer.close().AbstractConcurrentInitializer.close().public FailableSupplier<T,? extends Exception> getInitializer()
AbstractConcurrentInitializer.initialize().AbstractConcurrentInitializer.initialize().public B setCloser(FailableConsumer<T,? extends Exception> closer)
AbstractConcurrentInitializer.close().closer - the consumer called by AbstractConcurrentInitializer.close().this instance.public B setInitializer(FailableSupplier<T,? extends Exception> initializer)
AbstractConcurrentInitializer.initialize().initializer - the supplier called by AbstractConcurrentInitializer.initialize().this instance.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.