AuditStatistics

data class AuditStatistics(val totalEvents: Long, val oldestEventTs: Long?, val newestEventTs: Long?, val chainGeneration: Int, val signedEventCount: Long, val eventsByName: Map<String, Int>)

Statistics about the audit trail.

Constructors

Link copied to clipboard
constructor(totalEvents: Long, oldestEventTs: Long?, newestEventTs: Long?, chainGeneration: Int, signedEventCount: Long, eventsByName: Map<String, Int>)

Properties

Link copied to clipboard

Current chain generation (increments after chain breaks).

Link copied to clipboard

Breakdown of event counts by name.

Link copied to clipboard

Timestamp of the newest event, or null if empty.

Link copied to clipboard

Timestamp of the oldest event, or null if empty.

Link copied to clipboard

Number of signed events.

Link copied to clipboard

Total number of audit events.