public class RetryingMementoSerializer<T> extends java.lang.Object implements MementoSerializer<T>
NOOP
Constructor and Description |
---|
RetryingMementoSerializer(MementoSerializer<T> delegate,
int maxAttempts) |
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() |
public RetryingMementoSerializer(MementoSerializer<T> delegate, int maxAttempts)
public java.lang.String toString(T memento)
toString
in interface MementoSerializer<T>
public T fromString(java.lang.String string)
fromString
in interface MementoSerializer<T>
public void setLookupContext(BrooklynMementoPersister.LookupContext lookupContext)
setLookupContext
in interface MementoSerializer<T>
public void unsetLookupContext()
unsetLookupContext
in interface MementoSerializer<T>