Interface BaseChangeEventListener<DocumentT,ChangeEventT extends BaseChangeEvent<DocumentT>>
-
- Type Parameters:
DocumentT
- the type of class represented by the document in the change event.ChangeEventT
- the type of class represented by the change event.
- All Known Subinterfaces:
ChangeEventListener<DocumentT>
,CompactChangeEventListener<DocumentT>
public interface BaseChangeEventListener<DocumentT,ChangeEventT extends BaseChangeEvent<DocumentT>>
BaseChangeEventListener receives change event notifications.
-
-
Method Summary
Modifier and Type Method Description void
onEvent(BsonValue documentId, ChangeEventT event)
Called when a change event happens for the given document id.
-
-
-
Method Detail
-
onEvent
void onEvent(BsonValue documentId, ChangeEventT event)
Called when a change event happens for the given document id.- Parameters:
documentId
- the _id of the document related to the event.event
- the change event.
-
-