public class PersistenceExceptionHandlerImpl extends java.lang.Object implements PersistenceExceptionHandler
Modifier and Type | Class and Description |
---|---|
static class |
PersistenceExceptionHandlerImpl.Builder |
Constructor and Description |
---|
PersistenceExceptionHandlerImpl(PersistenceExceptionHandlerImpl.Builder builder) |
Modifier and Type | Method and Description |
---|---|
static PersistenceExceptionHandlerImpl.Builder |
builder() |
void |
onDeleteMementoFailed(java.lang.String id,
java.lang.Exception e) |
void |
onGenerateMementoFailed(BrooklynObjectType type,
BrooklynObject instance,
java.lang.Exception e) |
void |
onPersistMementoFailed(Memento memento,
java.lang.Exception e) |
void |
onPersistRawMementoFailed(BrooklynObjectType type,
java.lang.String id,
java.lang.Exception e) |
void |
stop() |
public PersistenceExceptionHandlerImpl(PersistenceExceptionHandlerImpl.Builder builder)
public static PersistenceExceptionHandlerImpl.Builder builder()
public void stop()
stop
in interface PersistenceExceptionHandler
public void onGenerateMementoFailed(BrooklynObjectType type, BrooklynObject instance, java.lang.Exception e)
onGenerateMementoFailed
in interface PersistenceExceptionHandler
public void onPersistMementoFailed(Memento memento, java.lang.Exception e)
onPersistMementoFailed
in interface PersistenceExceptionHandler
public void onPersistRawMementoFailed(BrooklynObjectType type, java.lang.String id, java.lang.Exception e)
onPersistRawMementoFailed
in interface PersistenceExceptionHandler
public void onDeleteMementoFailed(java.lang.String id, java.lang.Exception e)
onDeleteMementoFailed
in interface PersistenceExceptionHandler