Interface CreateListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CreateListener
Listener interface for notifications that an object has just been created.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Receive notification of a new object being created.
  • Method Details

    • onCreate

      void onCreate(Transaction tx, ObjId id)
      Receive notification of a new object being created.

      Notifications are delivered in the same thread that is creating object, immediately after creation.

      Parameters:
      tx - associated transaction
      id - the ID of the new object