Package com.norconex.committer.core
Class CommitterEvent
java.lang.Object
java.util.EventObject
com.norconex.commons.lang.event.Event
com.norconex.committer.core.CommitterEvent
- All Implemented Interfaces:
Serializable
Default committer events.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCommitterEvent.CommitterEventBuilder<C extends CommitterEvent,B extends CommitterEvent.CommitterEventBuilder<C, B>> Nested classes/interfaces inherited from class com.norconex.commons.lang.event.Event
Event.EventBuilder<C extends Event,B extends Event.EventBuilder<C, B>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Committer acceptance check produced an error.static final StringThe Committer has rejected a request and it will not commit it.static final StringThe Committer has accepted a request and it will commit it.static final StringThe Committer is about to commit a request batch.static final StringThe Committer is done committing a request batch Triggered by supporting Committers only.static final StringThe Committer encountered an error when committing a request batch.static final StringThe Committer is being cleaned.static final StringThe Committer has been cleaned.static final StringThe Committer encountered an error when cleaning.static final StringThe Committer is closing.static final StringThe Committer is closed.static final StringThe Committer encountered an error when closing.static final StringThe Committer is receiving document to be removed.static final StringThe Committer has received a document to be removed.static final StringThe Committer entity removal produced an error.static final StringThe Committer began its initialization.static final StringThe Committer has been initialized.static final StringThe Committer encountered an error when initializing.static final StringThe Committer is receiving a document to be updated or inserted.static final StringThe Committer has received a document to be updated or inserted.static final StringThe Committer entity update/upsert produced an error.Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic CommitterEvent.CommitterEventBuilder<?, ?> builder()protected booleanbooleaninthashCode()toString()Methods inherited from class com.norconex.commons.lang.event.Event
getException, getMessage, getName, is, isMethods inherited from class java.util.EventObject
getSource
-
Field Details
-
COMMITTER_INIT_BEGIN
The Committer began its initialization.- See Also:
-
COMMITTER_INIT_END
The Committer has been initialized.- See Also:
-
COMMITTER_INIT_ERROR
The Committer encountered an error when initializing.- See Also:
-
COMMITTER_ACCEPT_YES
The Committer has accepted a request and it will commit it.- See Also:
-
COMMITTER_ACCEPT_NO
The Committer has rejected a request and it will not commit it.- See Also:
-
COMMITTER_ACCEPT_ERROR
The Committer acceptance check produced an error.- See Also:
-
COMMITTER_UPSERT_BEGIN
The Committer is receiving a document to be updated or inserted.- See Also:
-
COMMITTER_UPSERT_END
The Committer has received a document to be updated or inserted.- See Also:
-
COMMITTER_UPSERT_ERROR
The Committer entity update/upsert produced an error.- See Also:
-
COMMITTER_DELETE_BEGIN
The Committer is receiving document to be removed.- See Also:
-
COMMITTER_DELETE_END
The Committer has received a document to be removed.- See Also:
-
COMMITTER_DELETE_ERROR
The Committer entity removal produced an error.- See Also:
-
COMMITTER_BATCH_BEGIN
The Committer is about to commit a request batch. Triggered by supporting Committers only.- See Also:
-
COMMITTER_BATCH_END
The Committer is done committing a request batch Triggered by supporting Committers only.- See Also:
-
COMMITTER_BATCH_ERROR
The Committer encountered an error when committing a request batch. Triggered by supporting Committers only.- See Also:
-
COMMITTER_CLOSE_BEGIN
The Committer is closing.- See Also:
-
COMMITTER_CLOSE_END
The Committer is closed.- See Also:
-
COMMITTER_CLOSE_ERROR
The Committer encountered an error when closing.- See Also:
-
COMMITTER_CLEAN_BEGIN
The Committer is being cleaned.- See Also:
-
COMMITTER_CLEAN_END
The Committer has been cleaned.- See Also:
-
COMMITTER_CLEAN_ERROR
The Committer encountered an error when cleaning.- See Also:
-
-
Constructor Details
-
CommitterEvent
-
-
Method Details