All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.couchbase.client.core.deps.org.LatencyUtils.PauseDetectorListener Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/**
 * Written by Gil Tene of Azul Systems, and released to the public domain,
 * as explained at http://creativecommons.org/publicdomain/zero/1.0/
 */

package com.couchbase.client.core.deps.org.LatencyUtils;

/**
 * Accepts pause notification events.
 * 

* All times and time units are in nanoseconds */ public interface PauseDetectorListener { /** * handle a pause event notification. * @param pauseLength Length of reported pause (in nanoseconds) * @param pauseEndTime Time sampled at end of reported pause (in nanoTime units). */ public void handlePauseEvent(long pauseLength, long pauseEndTime); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy