Package io.permazen.core
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.
Listener interface for notifications that an object has just been created.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCreate
(Transaction tx, ObjId id) Receive notification of a new object being created.
-
Method Details
-
onCreate
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 transactionid
- the ID of the new object
-