public static interface DistributionSummary.BatchUpdater extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
flush()
Push updates to the associated timer.
|
void |
record(long amount)
Updates the statistics kept by the summary with the specified amount.
|
close
void record(long amount)
amount
- Amount for an event being measured. For example, if the size in bytes of responses
from a server. If the amount is less than 0 the value will be dropped.void flush()