T - The type of results supplied by this builder.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()
Constructs a new instance.
|
| 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.this instance.BackgroundInitializer.setExternalExecutor(ExecutorService)Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.