Class CommitterEvent

All Implemented Interfaces:
Serializable

public class CommitterEvent extends Event
Default committer events.
Since:
3.0.0
Author:
Pascal Essiembre
See Also:
  • Field Details

    • COMMITTER_INIT_BEGIN

      public static final String COMMITTER_INIT_BEGIN
      The Committer began its initialization.
      See Also:
    • COMMITTER_INIT_END

      public static final String COMMITTER_INIT_END
      The Committer has been initialized.
      See Also:
    • COMMITTER_INIT_ERROR

      public static final String COMMITTER_INIT_ERROR
      The Committer encountered an error when initializing.
      See Also:
    • COMMITTER_ACCEPT_YES

      public static final String COMMITTER_ACCEPT_YES
      The Committer has accepted a request and it will commit it.
      See Also:
    • COMMITTER_ACCEPT_NO

      public static final String COMMITTER_ACCEPT_NO
      The Committer has rejected a request and it will not commit it.
      See Also:
    • COMMITTER_ACCEPT_ERROR

      public static final String COMMITTER_ACCEPT_ERROR
      The Committer acceptance check produced an error.
      See Also:
    • COMMITTER_UPSERT_BEGIN

      public static final String COMMITTER_UPSERT_BEGIN
      The Committer is receiving a document to be updated or inserted.
      See Also:
    • COMMITTER_UPSERT_END

      public static final String COMMITTER_UPSERT_END
      The Committer has received a document to be updated or inserted.
      See Also:
    • COMMITTER_UPSERT_ERROR

      public static final String COMMITTER_UPSERT_ERROR
      The Committer entity update/upsert produced an error.
      See Also:
    • COMMITTER_DELETE_BEGIN

      public static final String COMMITTER_DELETE_BEGIN
      The Committer is receiving document to be removed.
      See Also:
    • COMMITTER_DELETE_END

      public static final String COMMITTER_DELETE_END
      The Committer has received a document to be removed.
      See Also:
    • COMMITTER_DELETE_ERROR

      public static final String COMMITTER_DELETE_ERROR
      The Committer entity removal produced an error.
      See Also:
    • COMMITTER_BATCH_BEGIN

      public static final String COMMITTER_BATCH_BEGIN
      The Committer is about to commit a request batch. Triggered by supporting Committers only.
      See Also:
    • COMMITTER_BATCH_END

      public static final String COMMITTER_BATCH_END
      The Committer is done committing a request batch Triggered by supporting Committers only.
      See Also:
    • COMMITTER_BATCH_ERROR

      public static final String COMMITTER_BATCH_ERROR
      The Committer encountered an error when committing a request batch. Triggered by supporting Committers only.
      See Also:
    • COMMITTER_CLOSE_BEGIN

      public static final String COMMITTER_CLOSE_BEGIN
      The Committer is closing.
      See Also:
    • COMMITTER_CLOSE_END

      public static final String COMMITTER_CLOSE_END
      The Committer is closed.
      See Also:
    • COMMITTER_CLOSE_ERROR

      public static final String COMMITTER_CLOSE_ERROR
      The Committer encountered an error when closing.
      See Also:
    • COMMITTER_CLEAN_BEGIN

      public static final String COMMITTER_CLEAN_BEGIN
      The Committer is being cleaned.
      See Also:
    • COMMITTER_CLEAN_END

      public static final String COMMITTER_CLEAN_END
      The Committer has been cleaned.
      See Also:
    • COMMITTER_CLEAN_ERROR

      public static final String COMMITTER_CLEAN_ERROR
      The Committer encountered an error when cleaning.
      See Also:
  • Constructor Details

  • Method Details

    • getRequest

      public ICommitterRequest getRequest()
      Gets the request associated with this event.
      Returns:
      associated request, or null
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Event
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Event
    • toString

      public String toString()
      Overrides:
      toString in class Event