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, setInitializerasThisclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnulpublic I get()
FailableSupplierpublic BackgroundInitializer.Builder<I,T> setExternalExecutor(ExecutorService externalExecutor)
externalExecutor - the ExecutorService to be used.BackgroundInitializer.setExternalExecutor(ExecutorService)Copyright © 2001–2024 The Apache Software Foundation. All rights reserved.