public interface MementoSerializer<T>
BrooklynMemento
for persisting and restoring,
though it can be used for any object (and is also used for the ManagementNodeSyncRecord
instances)Modifier and Type | Field and Description |
---|---|
static MementoSerializer<java.lang.String> |
NOOP |
Modifier and Type | Method and Description |
---|---|
T |
fromString(java.lang.String string) |
void |
setLookupContext(BrooklynMementoPersister.LookupContext lookupContext) |
java.lang.String |
toString(T memento) |
void |
unsetLookupContext() |
static final MementoSerializer<java.lang.String> NOOP
java.lang.String toString(T memento)
T fromString(java.lang.String string)
void setLookupContext(BrooklynMementoPersister.LookupContext lookupContext)
void unsetLookupContext()