void (long wait, long listenerTime, int listenerTries, long edtTime, int events) { if (listenerTime + edtTime >= DURATION_THRESHOLD_MS) { EVENT_EVENTS.log( FIELD_WAIT_MS.with(wait), FIELD_EVENT_LISTENERS_MS.with(listenerTime), FIELD_EVENT_TRIES.with(listenerTries), DurationMs.with(edtTime), FIELD_EVENT_NUMBER.with(events)); } }