BrooklynMementoPersisterToObjectStore
instead@Deprecated public abstract class AbstractBrooklynMementoPersister extends java.lang.Object implements BrooklynMementoPersister
BrooklynMementoPersister.Delta, BrooklynMementoPersister.LookupContext, BrooklynMementoPersister.MutableDelta
Constructor and Description |
---|
AbstractBrooklynMementoPersister()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
checkpoint(BrooklynMemento newMemento,
PersistenceExceptionHandler exceptionHandler)
Deprecated.
|
void |
checkpoint(BrooklynMementoRawData newMemento,
PersistenceExceptionHandler exceptionHandler)
Deprecated.
applies a full checkpoint (write) of all state
|
void |
delta(BrooklynMementoPersister.Delta delta,
PersistenceExceptionHandler exceptionHanlder)
Deprecated.
applies a partial write of state delta
|
void |
disableWriteAccess(boolean graceful)
Deprecated.
|
void |
enableWriteAccess()
Deprecated.
|
java.lang.String |
getBackingStoreDescription()
Deprecated.
|
BrooklynMemento |
loadMemento(BrooklynMementoPersister.LookupContext lookupContext,
RebindExceptionHandler exceptionHandler)
Deprecated.
|
BrooklynMemento |
loadMemento(BrooklynMementoRawData mementoData,
BrooklynMementoPersister.LookupContext lookupContext,
RebindExceptionHandler exceptionHandler)
Deprecated.
Retrieves the memento class, containing deserialized objects (but not the
BrooklynObject class). |
BrooklynMementoManifest |
loadMementoManifest(BrooklynMementoRawData mementoData,
RebindExceptionHandler exceptionHandler)
Deprecated.
Loads minimal manifest information (almost entirely *not* deserialized).
|
BrooklynMementoManifest |
loadMementoManifest(RebindExceptionHandler exceptionHandler)
Deprecated.
|
BrooklynMementoRawData |
loadMementoRawData(RebindExceptionHandler exceptionHandler)
Deprecated.
Loads raw data contents of the mementos.
|
void |
queueDelta(BrooklynMementoPersister.Delta delta)
Deprecated.
inserts an additional delta to be written on the next delta request
|
void |
stop(boolean graceful)
Deprecated.
permanently shuts down all access to the remote store
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
waitForWritesCompleted, waitForWritesCompleted
public AbstractBrooklynMementoPersister()
public BrooklynMementoRawData loadMementoRawData(RebindExceptionHandler exceptionHandler)
BrooklynMementoPersister
Some classes (esp deprecated ones) may return null here,
meaning that the BrooklynMementoPersister.loadMementoManifest(BrooklynMementoRawData, RebindExceptionHandler)
and BrooklynMementoPersister.loadMemento(BrooklynMementoRawData, LookupContext, RebindExceptionHandler)
methods
will populate the raw data via another source.
loadMementoRawData
in interface BrooklynMementoPersister
public BrooklynMemento loadMemento(BrooklynMementoRawData mementoData, BrooklynMementoPersister.LookupContext lookupContext, RebindExceptionHandler exceptionHandler)
BrooklynMementoPersister
BrooklynObject
class).
Implementations should load the raw data if BrooklynMementoRawData
is not supplied,
but callers are encouraged to supply that for optimal performance.
Note that this method is *not* thread safe.
loadMemento
in interface BrooklynMementoPersister
public BrooklynMemento loadMemento(BrooklynMementoPersister.LookupContext lookupContext, RebindExceptionHandler exceptionHandler)
loadMemento
in interface BrooklynMementoPersister
public BrooklynMementoManifest loadMementoManifest(RebindExceptionHandler exceptionHandler)
loadMementoManifest
in interface BrooklynMementoPersister
public BrooklynMementoManifest loadMementoManifest(BrooklynMementoRawData mementoData, RebindExceptionHandler exceptionHandler)
BrooklynMementoPersister
BrooklynMementoRawData
is not supplied,
but callers are encouraged to supply that for optimal performance.loadMementoManifest
in interface BrooklynMementoPersister
public void enableWriteAccess()
enableWriteAccess
in interface BrooklynMementoPersister
public void disableWriteAccess(boolean graceful)
disableWriteAccess
in interface BrooklynMementoPersister
public void stop(boolean graceful)
BrooklynMementoPersister
stop
in interface BrooklynMementoPersister
public void checkpoint(BrooklynMemento newMemento, PersistenceExceptionHandler exceptionHandler)
checkpoint
in interface BrooklynMementoPersister
public void checkpoint(BrooklynMementoRawData newMemento, PersistenceExceptionHandler exceptionHandler)
BrooklynMementoPersister
checkpoint
in interface BrooklynMementoPersister
public void delta(BrooklynMementoPersister.Delta delta, PersistenceExceptionHandler exceptionHanlder)
BrooklynMementoPersister
delta
in interface BrooklynMementoPersister
public void queueDelta(BrooklynMementoPersister.Delta delta)
BrooklynMementoPersister
queueDelta
in interface BrooklynMementoPersister
public java.lang.String getBackingStoreDescription()
getBackingStoreDescription
in interface BrooklynMementoPersister