Interface ChangeEventListener<DocumentT>

  • Type Parameters:
    DocumentT - the type of class represented by the document in the change event.
    All Superinterfaces:

    public interface ChangeEventListener<DocumentT>
    extends BaseChangeEventListener<DocumentT,​ChangeEvent<DocumentT>>
    ChangeEventListener receives change event notifications.
    • Method Summary

      Modifier and Type Method Description
      void onEvent​(BsonValue documentId, ChangeEvent<DocumentT> event)
      Called when a change event happens for the given document id.