Package de.xima.fc.audit
Class AuditEntryHandle
- java.lang.Object
-
- de.xima.fc.audit.AuditEntryHandle
-
- All Implemented Interfaces:
Serializable
public final class AuditEntryHandle extends Object implements Serializable
Handle to a protocol entry that was just written, returned by therecordmethods ofAuditService. Lets a caller reference the created entry (e.g. for correlation). Intentionally minimal, and distinct from any future read model of an entry.The type is
Serializableso it may cross the master ⇄ frontend RPC boundary.- Since:
- 8.5.6
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuditEntryHandle(Long id, Instant createdAt)Creates a newAuditEntryHandleinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)InstantgetCreatedAt()When the entry was created (server-managed).LonggetId()The unique ID of the created protocol entry.inthashCode()StringtoString()
-