BrooklynMementoPersisterToObjectStore
instead; class be moved to tests
new BrooklynMementoPersisterToObjectStore(new InMemoryObjectStore(), classLoader)
@Deprecated public class BrooklynMementoPersisterInMemory extends AbstractBrooklynMementoPersister
BrooklynMementoPersister.Delta, BrooklynMementoPersister.LookupContext, BrooklynMementoPersister.MutableDelta
Constructor and Description |
---|
BrooklynMementoPersisterInMemory(java.lang.ClassLoader classLoader)
Deprecated.
|
BrooklynMementoPersisterInMemory(java.lang.ClassLoader classLoader,
boolean checkPersistable)
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
|
void |
waitForWritesCompleted(Duration timeout)
Deprecated.
|
void |
waitForWritesCompleted(long timeout,
java.util.concurrent.TimeUnit unit)
Deprecated.
|
checkpoint, disableWriteAccess, enableWriteAccess, getBackingStoreDescription, loadMemento, loadMemento, loadMementoManifest, loadMementoManifest, loadMementoRawData, queueDelta, stop
public BrooklynMementoPersisterInMemory(java.lang.ClassLoader classLoader)
public BrooklynMementoPersisterInMemory(java.lang.ClassLoader classLoader, boolean checkPersistable)
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 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