Interface AfterRecordDeleteListener


  • public interface AfterRecordDeleteListener
    Listener to receive events after a delete operation occurs on records (documents, vertices and edges).

    NOTE: the callback is invoked synchronously. For this reason the execution should be as fast as possible. Even with a fast implementation, using this callback may cause a sensible slowdown of delete operations.

    Author:
    Luca Garulli ([email protected])
    • Method Detail

      • onAfterDelete

        void onAfterDelete​(Record record)
        Callback invoked right after a record (documents, vertices and edges) has been deleted. You can use this callback to implement a cascade deletion.