@Deprecated public class BrooklynMementoPersisterToFile extends AbstractBrooklynMementoPersister
BrooklynMementoPersister.Delta, BrooklynMementoPersister.LookupContext, BrooklynMementoPersister.MutableDelta
Constructor and Description |
---|
BrooklynMementoPersisterToFile(java.io.File file,
java.lang.ClassLoader classLoader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
checkpoint(BrooklynMemento newMemento,
PersistenceExceptionHandler exceptionHandler)
Deprecated.
|
void |
delta(BrooklynMementoPersister.Delta delta,
PersistenceExceptionHandler exceptionHandler)
Deprecated.
applies a partial write of state delta
|
BrooklynMemento |
loadMemento(BrooklynMementoPersister.LookupContext lookupContext,
RebindExceptionHandler exceptionHandler)
Deprecated.
|
void |
waitForWritesCompleted(Duration timeout)
Deprecated.
|
void |
waitForWritesCompleted(long timeout,
java.util.concurrent.TimeUnit unit)
Deprecated.
|
checkpoint, disableWriteAccess, enableWriteAccess, getBackingStoreDescription, loadMemento, loadMementoManifest, loadMementoManifest, loadMementoRawData, queueDelta, stop
public BrooklynMementoPersisterToFile(java.io.File file, java.lang.ClassLoader classLoader)
public void waitForWritesCompleted(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedException
java.util.concurrent.TimeoutException
public void waitForWritesCompleted(Duration timeout) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedException
java.util.concurrent.TimeoutException
public BrooklynMemento loadMemento(BrooklynMementoPersister.LookupContext lookupContext, RebindExceptionHandler exceptionHandler)
loadMemento
in interface BrooklynMementoPersister
loadMemento
in class AbstractBrooklynMementoPersister
public void checkpoint(BrooklynMemento newMemento, PersistenceExceptionHandler exceptionHandler)
checkpoint
in interface BrooklynMementoPersister
checkpoint
in class AbstractBrooklynMementoPersister
public void delta(BrooklynMementoPersister.Delta delta, PersistenceExceptionHandler exceptionHandler)
BrooklynMementoPersister
delta
in interface BrooklynMementoPersister
delta
in class AbstractBrooklynMementoPersister