Skip navigation links
A B C G H I L M N O P R S T U W 

A

addIntervalHistogramTo(Histogram) - Method in class org.LatencyUtils.LatencyStats
Add the values value counts accumulated since the last interval histogram was taken into toHistogram.
addListener(PauseDetectorListener) - Method in class org.LatencyUtils.PauseDetector
Add a PauseDetectorListener listener to be notified when pauses are detected.
addListener(PauseDetectorListener, boolean) - Method in class org.LatencyUtils.PauseDetector
Add a PauseDetectorListener listener to be notified when pauses are detected Listener will be added to either the normal priority or high priority listeners list,

B

build() - Method in class org.LatencyUtils.LatencyStats.Builder
 
Builder() - Constructor for class org.LatencyUtils.LatencyStats.Builder
 

C

count - Variable in class org.LatencyUtils.MovingAverageIntervalEstimator
 
create() - Static method in class org.LatencyUtils.LatencyStats.Builder
 
currentTimeMillis() - Static method in class org.LatencyUtils.TimeServices
 

G

getCurrentPosition() - Method in class org.LatencyUtils.MovingAverageIntervalEstimator
 
getDefaultPauseDetector() - Static method in class org.LatencyUtils.LatencyStats
Get the current default pause detector which will be used by newly constructed LatencyStats instances when the constructor is not explicitly provided with one.
getEstimatedInterval(long) - Method in class org.LatencyUtils.IntervalEstimator
Provides the estimated interval
getEstimatedInterval(long) - Method in class org.LatencyUtils.MovingAverageIntervalEstimator
 
getEstimatedInterval(long) - Method in class org.LatencyUtils.TimeCappedMovingAverageIntervalEstimator
 
getIntervalEstimator() - Method in class org.LatencyUtils.LatencyStats
get the IntervalEstimator used by this LatencyStats object
getIntervalHistogram() - Method in class org.LatencyUtils.LatencyStats
Get a new interval histogram which will include the value counts accumulated since the last interval histogram was taken.
getIntervalHistogramInto(Histogram) - Method in class org.LatencyUtils.LatencyStats
Place a copy of the value counts accumulated since the last interval histogram was taken into targetHistogram.
getLatestUncorrectedIntervalHistogram() - Method in class org.LatencyUtils.LatencyStats
Get a copy of the uncorrected latest interval latency histogram.
getLatestUncorrectedIntervalHistogramInto(Histogram) - Method in class org.LatencyUtils.LatencyStats
Place a copy of the values of the latest uncorrected interval latency histogram.
getPauseDetector() - Method in class org.LatencyUtils.LatencyStats
get the PauseDetector used by this LatencyStats object

H

handlePauseEvent(long, long) - Method in interface org.LatencyUtils.PauseDetectorListener
handle a pause event notification.
highestTrackableLatency(long) - Method in class org.LatencyUtils.LatencyStats.Builder
 

I

intervalEndTimes - Variable in class org.LatencyUtils.MovingAverageIntervalEstimator
 
IntervalEstimator - Class in org.LatencyUtils
IntervalEstimator is used to estimate intervals, potentially based on observed intervals recorded in it.
IntervalEstimator() - Constructor for class org.LatencyUtils.IntervalEstimator
 
intervalEstimatorTimeCap(long) - Method in class org.LatencyUtils.LatencyStats.Builder
 
intervalEstimatorWindowLength(int) - Method in class org.LatencyUtils.LatencyStats.Builder
 

L

LatencyStats - Class in org.LatencyUtils
LatencyStats objects are used to track and report on the behavior of latencies across measurements.
LatencyStats() - Constructor for class org.LatencyUtils.LatencyStats
Create a LatencyStats object with default settings.
use the default pause detector (supplied separately set using LatencyStats.setDefaultPauseDetector(org.LatencyUtils.PauseDetector), which will itself default to a SimplePauseDetector if not explicitly supplied) use a default histogram update interval (1 sec) use a default histogram range and accuracy (1 usec to 1hr, 2 decimal points of accuracy) and use a default moving window estimator (1024 entry moving window, time capped at 10 seconds)
LatencyStats(long, long, int, int, long, PauseDetector) - Constructor for class org.LatencyUtils.LatencyStats
 
LatencyStats.Builder - Class in org.LatencyUtils
A fluent API builder class for creating LatencyStats objects.
lowestTrackableLatency(long) - Method in class org.LatencyUtils.LatencyStats.Builder
 

M

moveTimeForward(long) - Static method in class org.LatencyUtils.TimeServices
 
moveTimeForwardMsec(long) - Static method in class org.LatencyUtils.TimeServices
 
MovingAverageIntervalEstimator - Class in org.LatencyUtils
A moving average interval estimator.
MovingAverageIntervalEstimator(int) - Constructor for class org.LatencyUtils.MovingAverageIntervalEstimator
 

N

nanoTime() - Static method in class org.LatencyUtils.TimeServices
 
notifyListeners(long, long) - Method in class org.LatencyUtils.PauseDetector
Notify listeners about a pause
numberOfSignificantValueDigits(int) - Method in class org.LatencyUtils.LatencyStats.Builder
 

O

org.LatencyUtils - package org.LatencyUtils
A latency stats tracking package

P

pauseDetector(PauseDetector) - Method in class org.LatencyUtils.LatencyStats.Builder
 
PauseDetector - Class in org.LatencyUtils
A PauseDetector detects pauses and reports them to registered listeners
PauseDetector() - Constructor for class org.LatencyUtils.PauseDetector
 
PauseDetectorListener - Interface in org.LatencyUtils
Accepts pause notification events.

R

recordInterval(long) - Method in class org.LatencyUtils.IntervalEstimator
Record an interval
recordInterval(long) - Method in class org.LatencyUtils.MovingAverageIntervalEstimator
 
recordInterval(long) - Method in class org.LatencyUtils.TimeCappedMovingAverageIntervalEstimator
 
recordLatency(long) - Method in class org.LatencyUtils.LatencyStats
Record a latency value in the LatencyStats object
removeListener(PauseDetectorListener) - Method in class org.LatencyUtils.PauseDetector

S

scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.LatencyUtils.TimeServices.ScheduledExecutor
 
setCurrentTime(long) - Static method in class org.LatencyUtils.TimeServices
 
setDefaultPauseDetector(PauseDetector) - Static method in class org.LatencyUtils.LatencyStats
Set the default pause detector for the LatencyStats class.
setVerbose(boolean) - Method in class org.LatencyUtils.SimplePauseDetector
 
shutdown() - Method in class org.LatencyUtils.PauseDetector
Stop execution of this pause detector
shutdown() - Method in class org.LatencyUtils.SimplePauseDetector
Shut down the pause detector operation and terminate it's threads.
shutdown() - Method in class org.LatencyUtils.TimeServices.ScheduledExecutor
 
SimplePauseDetector - Class in org.LatencyUtils
A Simple PauseDetector that detects pauses using a consensus observation across a configurable number of detection thread.
SimplePauseDetector(long, long, int) - Constructor for class org.LatencyUtils.SimplePauseDetector
Creates a SimplePauseDetector
SimplePauseDetector(long, long, int, boolean) - Constructor for class org.LatencyUtils.SimplePauseDetector
Creates a SimplePauseDetector
SimplePauseDetector() - Constructor for class org.LatencyUtils.SimplePauseDetector
Creates a SimplePauseDetector with a default sleep interval (1 msec), a default pause notification threshold (1 msec), and using the default number of consensus detection threads (3).
skipConsensusTimeTo(long) - Method in class org.LatencyUtils.SimplePauseDetector
A test method that allows the caller to artificially move the consensus observed time forward without causing a pause to be detected as a result of the time skip.
sleepMsecs(long) - Static method in class org.LatencyUtils.TimeServices
 
sleepNanos(long) - Static method in class org.LatencyUtils.TimeServices
 
stallDetectorThreads(long, long) - Method in class org.LatencyUtils.SimplePauseDetector
A test method that allows the caller to artificially stall a requested set of the detector threads for a given amount of time.
stop() - Method in class org.LatencyUtils.LatencyStats
Stop operation of this LatencyStats object, removing it from the pause detector's notification list
stop() - Method in class org.LatencyUtils.TimeCappedMovingAverageIntervalEstimator
Stop the tracking via the pauseDetector, and remove this estimator from the pause detector's listeners.

T

TimeCappedMovingAverageIntervalEstimator - Class in org.LatencyUtils
A moving average interval estimator with a cap on the time window length that the moving window must completely fit in in order to provide estimated time intervals.
TimeCappedMovingAverageIntervalEstimator(int, long) - Constructor for class org.LatencyUtils.TimeCappedMovingAverageIntervalEstimator
 
TimeCappedMovingAverageIntervalEstimator(int, long, PauseDetector) - Constructor for class org.LatencyUtils.TimeCappedMovingAverageIntervalEstimator
 
TimeServices - Class in org.LatencyUtils
Provide an API for time-related service, such as getting the current time and waiting for a given period of time.
TimeServices() - Constructor for class org.LatencyUtils.TimeServices
 
TimeServices.ScheduledExecutor - Class in org.LatencyUtils
 
toString() - Method in class org.LatencyUtils.TimeCappedMovingAverageIntervalEstimator
 

U

useActualTime - Static variable in class org.LatencyUtils.TimeServices
 

W

waitUntilTime(long) - Static method in class org.LatencyUtils.TimeServices
 
windowLength - Variable in class org.LatencyUtils.MovingAverageIntervalEstimator
 
windowMagnitude - Variable in class org.LatencyUtils.MovingAverageIntervalEstimator
 
windowMask - Variable in class org.LatencyUtils.MovingAverageIntervalEstimator
 
A B C G H I L M N O P R S T U W 
Skip navigation links

Copyright © 2015. All rights reserved.