
org.LatencyUtils.PauseDetector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-thirdparty.micrometer.core
Show all versions of common-thirdparty.micrometer.core
DiamondQ Common: Third Party: Micrometer: Core
The 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 org.LatencyUtils;
import java.util.ArrayList;
import java.util.concurrent.LinkedBlockingQueue;
/**
* A PauseDetector detects pauses and reports them to registered listeners
*/
public abstract class PauseDetector {
private final ArrayList highPriorityListeners = new ArrayList(32);
private final ArrayList normalPriorityListeners = new ArrayList(32);
private final LinkedBlockingQueue
© 2015 - 2025 Weber Informatics LLC | Privacy Policy