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 Details

  • 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()