Interface AfterRecordCreateListener


  • public interface AfterRecordCreateListener
    Listener to receive events after new records (documents, vertices and edges) are saved.

    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 creation operations.

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

      • onAfterCreate

        void onAfterCreate​(Record record)
        Callback invoked right after a new record (documents, vertices and edges) has been saved. You can use this callback to enrich the record with additional properties.