public final class AS4WorkerPool
extends com.helger.scope.singleton.AbstractGlobalSingleton
| Constructor and Description |
|---|
AS4WorkerPool()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AS4WorkerPool |
getInstance() |
protected void |
onDestroy(com.helger.scope.IScope aScopeInDestruction) |
CompletableFuture<Void> |
run(com.helger.commons.callback.IThrowingRunnable<? extends Throwable> aRunnable) |
<T> CompletableFuture<T> |
supply(Supplier<T> aSupplier) |
getAllGlobalSingletons, getGlobalSingleton, getGlobalSingletonIfInstantiated, isGlobalSingletonInstantiatedgetAllSingletons, getSingleton, getSingletonIfInstantiated, getSingletonScopeKey, isDestroyed, isInDestruction, isInInstantiation, isInPreDestruction, isInstantiated, isSingletonInstantiated, isUsableObject, onAfterInstantiation, onBeforeDestroy, onBeforeScopeDestruction, onScopeDestruction, readAbstractSingletonFields, setDestroyed, setInDestruction, setInInstantiation, setInPreDestruction, setInstantiated, toString, writeAbstractSingletonFields@Deprecated @UsedViaReflection public AS4WorkerPool()
@Nonnull public static AS4WorkerPool getInstance()
protected void onDestroy(@Nonnull com.helger.scope.IScope aScopeInDestruction) throws Exception
onDestroy in class com.helger.scope.singleton.AbstractSingletonException@Nonnull public CompletableFuture<Void> run(@Nonnull com.helger.commons.callback.IThrowingRunnable<? extends Throwable> aRunnable)
@Nonnull public <T> CompletableFuture<T> supply(@Nonnull Supplier<T> aSupplier)
Copyright © 2015–2019 Philip Helger. All rights reserved.