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