Package io.perl.api
Interface ReportLatency
- All Known Implementing Classes:
ArrayLatencyRecorder
,CSVExtendedLatencyRecorder
,DefaultLogger
,DefaultPrometheusLogger
,HashMapLatencyRecorder
,HdrExtendedLatencyRecorder
,LatencyRecordWindow
,LongHashMapLatencyRecorder
,MapLatencyRecorder
,TotalWindowLatencyPeriodicRecorder
,TotalWindowLatencyRecorder
public interface ReportLatency
Interface ReportLatency.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
recordLatency
(long startTime, int events, int bytes, long latency) Record the latency.
-
Method Details
-
recordLatency
void recordLatency(long startTime, int events, int bytes, long latency) Record the latency.- Parameters:
startTime
- start time.events
- number of events(records).bytes
- number of bytes.latency
- latency value in milliseconds.
-