@Stability.Volatile public class TransactionCleanupEndRunEvent extends TransactionEvent
As this exposes implementation details of transactions, all methods are subject to change and marked with @Stability.Volatile.
Constructor and Description |
---|
TransactionCleanupEndRunEvent(TransactionCleanupStartRunEvent start,
java.util.Map<java.lang.String,ATRStats> atrStats,
java.time.Duration timeOfLastRun) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ATRStats> |
atrStats() |
java.lang.String |
description() |
int |
largestNumEntries() |
int |
numAtrsChecked()
How many ATRs were checked by this client on this bucket, over the last run.
|
long |
numAtrsErrored()
How many ATRs errored during fetch and processing this client on this bucket, over the last run.
|
long |
numAtrsMissing()
How many missing ATRs were found by this client on this bucket, over the last run.
|
long |
numAtrsPresent()
How many ATRs were found by this client on this bucket, over the last run.
|
int |
numEntries()
How many transaction entries were found by this client on this bucket, over the last run.
|
int |
numEntriesExpired() |
java.util.Optional<ATREntry> |
oldest() |
TransactionCleanupStartRunEvent |
start()
Returns details of the start of this cleanup run.
|
boolean |
success()
Provided so the app check if this event is regarded as a success, and if not, output any logs it has.
|
java.time.Duration |
timeOfLastRun()
How long it took to do the last 'run', e.g.
|
logs
category, context, createdAt, duration, severity, toString
@Stability.Volatile public TransactionCleanupEndRunEvent(TransactionCleanupStartRunEvent start, java.util.Map<java.lang.String,ATRStats> atrStats, java.time.Duration timeOfLastRun)
@Stability.Volatile public TransactionCleanupStartRunEvent start()
@Stability.Volatile public java.time.Duration timeOfLastRun()
public int numAtrsChecked()
public int numEntries()
public long numAtrsPresent()
public long numAtrsMissing()
public long numAtrsErrored()
public java.util.Map<java.lang.String,ATRStats> atrStats()
public java.util.Optional<ATREntry> oldest()
public int numEntriesExpired()
public int largestNumEntries()
public java.lang.String description()
public boolean success()
TransactionEvent
success
in class TransactionEvent