Interface | Description |
---|---|
MementoSerializer<T> |
Serializes the given object; it is often used with
BrooklynMemento for persisting and restoring,
though it can be used for any object (and is also used for the ManagementNodeSyncRecord instances) |
PersistenceObjectStore |
Interface for working with persistence targets, including file system and jclouds object stores.
|
PersistenceObjectStore.StoreObjectAccessor |
accessor to an object/item in a
PersistenceObjectStore |
PersistenceObjectStore.StoreObjectAccessorWithLock |
Class | Description |
---|---|
AbstractBrooklynMementoPersister | Deprecated
since 0.7.0 for production use
BrooklynMementoPersisterToMultiFile instead;
this class will be merged with BrooklynMementoPersisterInMemory in test code. |
BrooklynMementoPersisterInMemory | Deprecated
since 0.7.0 for production use
BrooklynMementoPersisterToMultiFile instead; class be moved to tests
new BrooklynMementoPersisterToObjectStore(new InMemoryObjectStore(), classLoader)
|
BrooklynMementoPersisterToFile | Deprecated
since 0.7.0 use BrooklynMementoPersisterToMultiFile instead; the single-file version
has not been tested recently or kept up-to-date.
|
BrooklynMementoPersisterToMultiFile | Deprecated
since 0.7.0 use
BrooklynMementoPersisterToObjectStore instead;
it has a multi-file filesystem backend for equivalent functionality, but is pluggable
to support other storage backends |
BrooklynMementoPersisterToObjectStore |
Implementation of the
BrooklynMementoPersister backed by a pluggable
PersistenceObjectStore such as a file system or a jclouds object store |
FileBasedObjectStore | |
FileBasedStoreObjectAccessor |
Reads/writes to a file.
|
MementoFileWriter<T> | Deprecated
since 0.7.0; used only by now-deprecated
BrooklynMementoPersisterToMultiFile ,
impl largely moved to FileBasedStoreObjectAccessor |
MementoFileWriterSync<T> | Deprecated
since 0.7.0 we use
PersistenceObjectStore instances now, and when we need sync behaviour we just wait |
RetryingMementoSerializer<T> | |
StoreObjectAccessorLocking |
Wraps access to an object (the delegate
PersistenceObjectStore.StoreObjectAccessor
in a guarded read-write context such that callers will be blocked if another thread
is accessing the object in an incompatible way (e.g. |
XmlMementoSerializer<T> |
Enum | Description |
---|---|
PersistMode |