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>,java.lang.Exception>
NUL| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
I |
get()
Supplies an object
|
BackgroundInitializer.Builder<I,T> |
setExternalExecutor(java.util.concurrent.ExecutorService externalExecutor)
Sets the external executor service for executing tasks.
|
getCloser, getInitializer, setCloser, setInitializerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnulpublic I get()
FailableSupplierpublic BackgroundInitializer.Builder<I,T> setExternalExecutor(java.util.concurrent.ExecutorService externalExecutor)
externalExecutor - the ExecutorService to be used.BackgroundInitializer.setExternalExecutor(ExecutorService)Copyright © 2010 - 2024 Adobe. All Rights Reserved