Package org.projectbarbel.histo.event
Interface HistoEvent
-
- All Known Implementing Classes:
EventType.AbstractBarbelEvent
,EventType.AcquireLockEvent
,EventType.BarbelInitializedEvent
,EventType.InactivationEvent
,EventType.InitializeJournalEvent
,EventType.InsertBitemporalEvent
,EventType.OnLoadOperationEvent
,EventType.ReleaseLockEvent
,EventType.RetrieveDataEvent
,EventType.UnLoadOperationEvent
,EventType.UpdateFinishedEvent
public interface HistoEvent
Interface implemented by allEventType
.- Author:
- Niklas Schlimm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
derivedFields(BarbelHistoContext context)
void
failed(Throwable e)
Object
getDocumentId()
Map<Object,Object>
getEventContext()
EventType
getEventType()
Throwable
getRootCause()
default void
postAsynchronous(BarbelHistoContext context)
default void
postBothWay(BarbelHistoContext context)
default void
postSynchronous(BarbelHistoContext context)
void
setMode(BarbelMode mode)
boolean
succeeded()
default HistoEvent
with(Object value)
default HistoEvent
with(Object key, Object value)
-
-
-
Method Detail
-
with
default HistoEvent with(Object value)
-
with
default HistoEvent with(Object key, Object value)
-
postSynchronous
default void postSynchronous(BarbelHistoContext context)
-
postAsynchronous
default void postAsynchronous(BarbelHistoContext context)
-
postBothWay
default void postBothWay(BarbelHistoContext context)
-
derivedFields
default void derivedFields(BarbelHistoContext context)
-
setMode
void setMode(BarbelMode mode)
-
succeeded
boolean succeeded()
-
getDocumentId
Object getDocumentId()
-
failed
void failed(Throwable e)
-
getRootCause
Throwable getRootCause()
-
getEventType
EventType getEventType()
-
-