@API(value=STABLE) public class FDBStoreTimer extends StoreTimer
StoreTimer
associated with FDBRecordStore
operations.Modifier and Type | Class and Description |
---|---|
static class |
FDBStoreTimer.CountAggregates
An aggregate over other count events.
|
static class |
FDBStoreTimer.Counts
Standard
Count events. |
static class |
FDBStoreTimer.DetailEvents
Standard
StoreTimer.DetailEvent s. |
static class |
FDBStoreTimer.Events
Ordinary top-level events which surround a single body of code.
|
static class |
FDBStoreTimer.Waits
Standard
Wait events. |
StoreTimer.Aggregate, StoreTimer.Count, StoreTimer.Counter, StoreTimer.DetailEvent, StoreTimer.Event, StoreTimer.Wait
Modifier and Type | Field and Description |
---|---|
protected static Set<StoreTimer.Aggregate> |
ALL_AGGREGATES |
counters, lastReset, timeoutCounters, uuid
Constructor and Description |
---|
FDBStoreTimer() |
Modifier and Type | Method and Description |
---|---|
Set<StoreTimer.Aggregate> |
getAggregates()
Return the set of aggregates that this store timer can produce.
|
protected static Stream<StoreTimer.Event> |
possibleEvents() |
void |
recordTimeout(StoreTimer.Wait event,
long startTime)
Record that some operation timed out.
|
checkEventNameUniqueness, getCount, getCounter, getCounter, getDifference, getEvents, getKeysAndValues, getTimeNanos, getTimeoutCount, getTimeoutCounter, getTimeoutCounter, getTimeoutEvents, getTimeoutTimeNanos, geUUID, increment, increment, increment, increment, instrument, instrument, instrument, instrument, instrument, instrumentAsync, record, record, record, recordSinceNanoTime, reset
protected static final Set<StoreTimer.Aggregate> ALL_AGGREGATES
protected static Stream<StoreTimer.Event> possibleEvents()
@Nonnull public Set<StoreTimer.Aggregate> getAggregates()
StoreTimer
StoreTimer.Aggregate.compute(StoreTimer)
).getAggregates
in class StoreTimer
public void recordTimeout(StoreTimer.Wait event, long startTime)
StoreTimer
recordTimeout
in class StoreTimer
event
- the event that was waited forstartTime
- the System.nanoTime()
when the event started