Class AuditWriteEvent
java.lang.Object
jdk.jfr.Event
zeroecho.pki.server.jfr.AuditWriteEvent
JFR event emitted when an audit record is written to the durable audit sink.
Measures the latency of the audit write path, distinguishes the audit category, and records whether the write included an fsync. Useful for identifying audit-path bottlenecks under load.
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionAudit category of the record, e.g.booleanWhether the write included an explicit filesystem sync;falsefor best-effort writes.intNumber of records written in this batch (always 1 for the server-control sink). -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uncommitted event with default field values; populate fields before committing. -
Method Summary
-
Field Details
-
category
Audit category of the record, e.g.SERVER_SECURITY. -
recordCount
public int recordCountNumber of records written in this batch (always 1 for the server-control sink). -
fsync
public boolean fsyncWhether the write included an explicit filesystem sync;falsefor best-effort writes.
-
-
Constructor Details
-
AuditWriteEvent
public AuditWriteEvent()Creates an uncommitted event with default field values; populate fields before committing.
-