A B C F G H I L M N O P R S T W

A

addAccumulatedHistogramTo(Histogram) - Method in class org.LatencyUtils.LatencyStats
Add the values of the accumulated latency histogram to the given histogram
addIntervalHistogramTo(Histogram) - Method in class org.LatencyUtils.LatencyStats
Add the values of the latest interval latency histogram to the given histogram
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
 

C

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

F

forceIntervalUpdate() - Method in class org.LatencyUtils.LatencyStats
Force an update of the interval and accumulated histograms from the current recorded data.

G

getAccumulatedHistogram() - Method in class org.LatencyUtils.LatencyStats
Get a copy of the accumulated latency histogram:
getAccumulatedHistogramInto(Histogram) - Method in class org.LatencyUtils.LatencyStats
Place a copy of the accumulated latency histogram's values into the given histogram
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 copy of the latest interval latency histogram:
getIntervalHistogramInto(Histogram) - Method in class org.LatencyUtils.LatencyStats
Place a copy of the latest interval latency histogram's values into the given histogram
getPauseDetector() - Method in class org.LatencyUtils.LatencyStats
get the PauseDetector used by this LatencyStats object
getUncorrectedAccumulatedHistogram() - Method in class org.LatencyUtils.LatencyStats
Get a copy of the uncorrected accumulated latency histogram (values will not include corrections for detected pauses)
getUncorrectedIntervalHistogram() - Method in class org.LatencyUtils.LatencyStats
Get a copy of the uncorrected latest interval latency histogram (values will not include corrections for detected pauses)

H

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

I

IntervalEstimator - Class in org.LatencyUtils
IntervalEstimator is used to estimate intervalEndTimes, potentially based on observed intervalEndTimes 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 the behavior of latencies recorded using LatencyStats.recordLatency(long)).
LatencyStats() - Constructor for class org.LatencyUtils.LatencyStats
Create a LatencyStats object with default settings: use the default pause detector (must be separately set using LatencyStats.setDefaultPauseDetector(org.LatencyUtils.PauseDetector)), a default histogram update interval (1 sec), a default histogram range and accuracy (1 usec to 1hr, 2 decimal points of accuracy), and a default moving window estimator (1024 entry moving window, time capped at 10 seconds).
LatencyStats(long, long, int, 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.
LatencyStats.Builder() - Constructor for class org.LatencyUtils.LatencyStats.Builder
 
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
numberOfRecentHistogramIntervalsToTrack(int) - Method in class org.LatencyUtils.LatencyStats.Builder
 
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
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
Remove a PauseDetectorListener
resetAccumulatedHistogram() - Method in class org.LatencyUtils.LatencyStats
Reset the contents of the accumulated histogram
run() - 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.
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 intervalEndTimes.
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
 

W

waitUntilTime(long) - Static method in class org.LatencyUtils.TimeServices
 

A B C F G H I L M N O P R S T W

Copyright © 2013. All rights reserved.