Class ArchiveEvent
- java.lang.Object
-
- org.imixs.archive.service.cassandra.ArchiveEvent
-
public class ArchiveEvent extends Object
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
Fields Modifier and Type Field Description static intON_ARCHIVEstatic intON_DELETEstatic intON_RESTORE
-
Constructor Summary
Constructors Constructor Description ArchiveEvent(org.imixs.workflow.ItemCollection document, int eventType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.imixs.workflow.ItemCollectiongetDocument()intgetEventType()
-
-
-
Field Detail
-
ON_ARCHIVE
public static final int ON_ARCHIVE
- See Also:
- Constant Field Values
-
ON_RESTORE
public static final int ON_RESTORE
- See Also:
- Constant Field Values
-
ON_DELETE
public static final int ON_DELETE
- See Also:
- Constant Field Values
-
-