public class DiagnosticUtils extends Object
Constructor and Description |
---|
DiagnosticUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
takeDelayedDeliveryActionIfRequired(String resourceIdentifier,
Instant enqueueTimestamp,
org.slf4j.Logger log)
Util for RecordPublisher to measure the event delivery latency of the executor service and take appropriate action.
|
public static void takeDelayedDeliveryActionIfRequired(String resourceIdentifier, Instant enqueueTimestamp, org.slf4j.Logger log)
resourceIdentifier
- of the shard that is having delayed deliveryenqueueTimestamp
- of the event submitted to the executor servicelog
- Slf4j Logger from RecordPublisher to log the eventsCopyright © 2021. All rights reserved.