Class ArchiveEvent
java.lang.Object
org.imixs.archive.service.cassandra.ArchiveEvent
The Imixs Archive Service provides Metric events for an external monitoring.
The ArchiveEvent is fired by the DataService EJB each time a snapshot is
stored in the cassandra cluster. An event Observer can react on a save or
load event.
The ArchiveEvent defines the following event types:
- ON_ARCHIVE - send immediately before a document will be saved
- ON_RESTORE - send immediately after a document was restored
- ON_DELETE - send immediately before a document will be deleted
- Version:
- 1.0
- Author:
- Ralph Soika
- See Also:
-
org.imixs.workflow.engine.WorkflowService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectionint
-
Field Details
-
ON_ARCHIVE
public static final int ON_ARCHIVE- See Also:
-
ON_RESTORE
public static final int ON_RESTORE- See Also:
-
ON_DELETE
public static final int ON_DELETE- See Also:
-
-
Constructor Details
-
ArchiveEvent
public ArchiveEvent(org.imixs.workflow.ItemCollection document, int eventType)
-
-
Method Details
-
getEventType
public int getEventType() -
getDocument
public org.imixs.workflow.ItemCollection getDocument()
-