public static final class AbstractWALDAO.WALListener
extends com.helger.commons.scopes.singleton.GlobalSingleton
| Constructor and Description |
|---|
AbstractWALDAO.WALListener()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractWALDAO.WALListener |
getInstance() |
protected void |
onDestroy(com.helger.commons.scopes.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, isInstantiated, isSingletonInstantiated, isUsableObject, onAfterInstantiation, onScopeDestruction, readAbstractSingletonFields, setDestroyed, setInDestruction, setInInstantiation, setInstantiated, toString, writeAbstractSingletonFields@Deprecated @UsedViaReflection public AbstractWALDAO.WALListener()
@Nonnull public static AbstractWALDAO.WALListener getInstance()
protected void onDestroy(@Nonnull com.helger.commons.scopes.IScope aScopeInDestruction)
onDestroy in class com.helger.commons.scopes.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–2015 Philip Helger. All rights reserved.