T
- the type of the object managed by the initializer.I
- the type of the initializer managed by this builder.public static class BackgroundInitializer.Builder<I extends BackgroundInitializer<T>,T> extends AbstractConcurrentInitializer.AbstractBuilder<I,T,BackgroundInitializer.Builder<I,T>,Exception>
NUL
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
I |
get()
Supplies an object
|
BackgroundInitializer.Builder<I,T> |
setExternalExecutor(ExecutorService externalExecutor)
Sets the external executor service for executing tasks.
|
getCloser, getInitializer, setCloser, setInitializer
asThis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nul
public Builder()
public I get()
FailableSupplier
public BackgroundInitializer.Builder<I,T> setExternalExecutor(ExecutorService externalExecutor)
externalExecutor
- the ExecutorService
to be used.BackgroundInitializer.setExternalExecutor(ExecutorService)
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.