public final class WALListener
extends com.helger.commons.scope.singleton.AbstractGlobalSingleton
| Constructor and Description |
|---|
WALListener()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static WALListener |
getInstance() |
protected void |
onDestroy(com.helger.commons.scope.IScope aScopeInDestruction) |
void |
registerForLaterWriting(AbstractWALDAO<?> aDAO,
String sWALFilename,
com.helger.commons.lang.TimeValue aWaitingWime)
This is the main method for registration of later writing.
|
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 WALListener()
@Nonnull public static WALListener getInstance()
protected void onDestroy(@Nonnull com.helger.commons.scope.IScope aScopeInDestruction)
onDestroy in class com.helger.commons.scope.singleton.AbstractSingletonpublic void registerForLaterWriting(@Nonnull AbstractWALDAO<?> aDAO, @Nonnull String sWALFilename, @Nonnull com.helger.commons.lang.TimeValue aWaitingWime)
aDAO - The DAO to be writtensWALFilename - The filename of the WAL file for later deletion (in case the
filename changes over time).aWaitingWime - The time to wait, until the file is physically written. May not be
null.Copyright © 2014–2017 Philip Helger. All rights reserved.