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

A

AbstractRollingHdrHistogram - Class in com.github.rollingmetrics.histogram.hdr.impl
This class is not the part of rolling-metrics public API and should not be used by user directly.
AbstractRollingHdrHistogram(RecorderSettings) - Constructor for class com.github.rollingmetrics.histogram.hdr.impl.AbstractRollingHdrHistogram
 
add(long) - Method in class com.github.rollingmetrics.counter.ResetOnSnapshotCounter
 
add(long) - Method in class com.github.rollingmetrics.counter.ResetPeriodicallyCounter
 
add(long) - Method in class com.github.rollingmetrics.counter.SmoothlyDecayingRollingCounter
 
add(long) - Method in interface com.github.rollingmetrics.counter.WindowCounter
Increment the counter by delta.
addInto(SingleThreadedRanking) - Method in class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
addInto(SingleThreadedRanking, boolean) - Method in class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
addIntoUnsafe(SingleThreadedRanking) - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
addIntoUnsafe(SingleThreadedRanking, boolean) - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
addSecondToFirst(Histogram, Histogram) - Static method in class com.github.rollingmetrics.histogram.hdr.HdrHistogramUtil
 

B

BufferedActor<T extends BufferedActor.ReusableActionContainer> - Class in com.github.rollingmetrics.blocks
Primary intention of this class is replacing the blocking by buffering for complex monitoring metrics which can not be implemented(or it is too complex to implement) as none-blocking structure.
BufferedActor(Supplier<T>, int, int, int) - Constructor for class com.github.rollingmetrics.blocks.BufferedActor
 
BufferedActor.ReusableActionContainer - Class in com.github.rollingmetrics.blocks
 
build() - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
TODO
build() - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Constructs new Ranking instance
builder() - Static method in interface com.github.rollingmetrics.histogram.hdr.RollingHdrHistogram
 
builder(int) - Static method in interface com.github.rollingmetrics.ranking.Ranking
Creates new instance of RankingBuilder
buildRecorder() - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 

C

CachingSupplier<T> - Class in com.github.rollingmetrics.util
 
CachingSupplier(Duration, Ticker, Supplier<T>) - Constructor for class com.github.rollingmetrics.util.CachingSupplier
 
clear() - Method in class com.github.rollingmetrics.blocks.BufferedActor
 
com.github.rollingmetrics.blocks - package com.github.rollingmetrics.blocks
 
com.github.rollingmetrics.counter - package com.github.rollingmetrics.counter
 
com.github.rollingmetrics.histogram - package com.github.rollingmetrics.histogram
 
com.github.rollingmetrics.histogram.hdr - package com.github.rollingmetrics.histogram.hdr
 
com.github.rollingmetrics.histogram.hdr.impl - package com.github.rollingmetrics.histogram.hdr.impl
 
com.github.rollingmetrics.histogram.leveled - package com.github.rollingmetrics.histogram.leveled
 
com.github.rollingmetrics.hitratio - package com.github.rollingmetrics.hitratio
 
com.github.rollingmetrics.ranking - package com.github.rollingmetrics.ranking
 
com.github.rollingmetrics.ranking.impl - package com.github.rollingmetrics.ranking.impl
 
com.github.rollingmetrics.ranking.impl.recorder - package com.github.rollingmetrics.ranking.impl.recorder
 
com.github.rollingmetrics.util - package com.github.rollingmetrics.util
 
ConcurrentRanking - Class in com.github.rollingmetrics.ranking.impl.recorder
Is not a part of public API, this class just used as building block for other Ranking implementations.
ConcurrentRanking(int, long) - Constructor for class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
ConcurrentRanking.ModifyRankingAction - Class in com.github.rollingmetrics.ranking.impl.recorder
 
createEmptyCopy() - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
createNonConcurrentCopy(Histogram) - Static method in class com.github.rollingmetrics.histogram.hdr.HdrHistogramUtil
 

D

DaemonThreadFactory - Class in com.github.rollingmetrics.util
 
DaemonThreadFactory(String) - Constructor for class com.github.rollingmetrics.util.DaemonThreadFactory
 
deepCopy() - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Creates full copy of this builder.
DEFAULT_LATENCY_THRESHOLD - Static variable in class com.github.rollingmetrics.ranking.RankingBuilder
 
DEFAULT_MAX_LENGTH_OF_QUERY_DESCRIPTION - Static variable in class com.github.rollingmetrics.ranking.RankingBuilder
 
DEFAULT_SNAPSHOT_CACHING_DURATION - Static variable in class com.github.rollingmetrics.ranking.RankingBuilder
 
DefaultTicker - Class in com.github.rollingmetrics.util
Implementation of ticker which based on System.nanoTime().
defaultTicker() - Static method in interface com.github.rollingmetrics.util.Ticker
 
doExclusivelyOrSchedule(BufferedActor.ReusableActionContainer) - Method in class com.github.rollingmetrics.blocks.BufferedActor
 

E

EmptyRollingSnapshot - Class in com.github.rollingmetrics.histogram.hdr
 
EmptyRollingSnapshot() - Constructor for class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
equals(Object) - Method in class com.github.rollingmetrics.ranking.Position
 
execute(Executor, Runnable) - Method in class com.github.rollingmetrics.util.ResilientExecutionUtil
Executes task on executor.
execute(Runnable) - Method in class com.github.rollingmetrics.util.SingleThreadExecutor
If background thread is started then executes task in this thread, otherwise executes task in current thread.

F

freeGarbage() - Method in class com.github.rollingmetrics.blocks.BufferedActor.ReusableActionContainer
 
freeGarbage() - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking.ModifyRankingAction
 

G

get() - Method in class com.github.rollingmetrics.util.CachingSupplier
 
getActionFromPool() - Method in class com.github.rollingmetrics.blocks.BufferedActor
 
getBackgroundExecutor() - Method in class com.github.rollingmetrics.util.ResilientExecutionUtil
 
getChunkCount() - Method in class com.github.rollingmetrics.counter.SmoothlyDecayingRollingCounter
 
getChunkCount() - Method in class com.github.rollingmetrics.hitratio.SmoothlyDecayingRollingHitRatio
 
getCreatedThreads() - Method in class com.github.rollingmetrics.util.DaemonThreadFactory
 
getEstimatedFootprintInBytes() - Method in class com.github.rollingmetrics.histogram.hdr.impl.ResetByChunksRollingHdrHistogramImpl
 
getEstimatedFootprintInBytes() - Method in class com.github.rollingmetrics.histogram.hdr.impl.ResetOnSnapshotRollingHdrHistogramImpl
 
getEstimatedFootprintInBytes() - Method in class com.github.rollingmetrics.histogram.hdr.impl.UniformRollingHdrHistogramImpl
 
getEstimatedFootprintInBytes() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingHdrHistogram
Provide a (conservatively high) estimate of the Reservoir's total footprint in bytes
getEstimatedFootprintInBytes() - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Provide a (conservatively high) estimate of the Reservoir's total footprint in bytes
getExpectedIntervalBetweenValueSamples() - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
getHighestTrackableValue() - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
getHitRatio() - Method in interface com.github.rollingmetrics.hitratio.HitRatio
Returns the ratio between hits and misses
getHitRatio() - Method in class com.github.rollingmetrics.hitratio.ResetOnSnapshotHitRatio
 
getHitRatio() - Method in class com.github.rollingmetrics.hitratio.ResetPeriodicallyHitRatio
 
getHitRatio() - Method in class com.github.rollingmetrics.hitratio.SmoothlyDecayingRollingHitRatio
 
getHitRatio() - Method in class com.github.rollingmetrics.hitratio.UniformHitRatio
 
getIdentity() - Method in class com.github.rollingmetrics.ranking.Position
 
getInstance() - Static method in class com.github.rollingmetrics.util.DefaultTicker
 
getInstance() - Static method in class com.github.rollingmetrics.util.ResilientExecutionUtil
 
getIntervalRecorder() - Method in class com.github.rollingmetrics.ranking.impl.recorder.RankingRecorder
 
getIntervalRecorder(ConcurrentRanking) - Method in class com.github.rollingmetrics.ranking.impl.recorder.RankingRecorder
 
getMax() - Method in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
getMax() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingSnapshot
 
getMaxSize() - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
getMaxSize() - Method in class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
getMean() - Method in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
getMean() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingSnapshot
 
getMedian() - Method in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
getMedian() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingSnapshot
 
getMin() - Method in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
getMin() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingSnapshot
 
getOverflowedCount() - Method in class com.github.rollingmetrics.blocks.BufferedActor
 
getOverflowResolver() - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
getPositionsInDescendingOrder() - Method in class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
getPositionsInDescendingOrder() - Method in class com.github.rollingmetrics.ranking.impl.ResetByChunksRanking
 
getPositionsInDescendingOrder() - Method in class com.github.rollingmetrics.ranking.impl.ResetOnSnapshotRanking
 
getPositionsInDescendingOrder() - Method in class com.github.rollingmetrics.ranking.impl.SnapshotCachingRanking
 
getPositionsInDescendingOrder() - Method in class com.github.rollingmetrics.ranking.impl.UniformRanking
 
getPositionsInDescendingOrder() - Method in interface com.github.rollingmetrics.ranking.Ranking
Returns the top of queries in descend order, slowest query will be at first place.
getPositionsInDescendingOrderUnsafe() - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
getPredefinedPercentiles() - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
getRollingWindow() - Method in class com.github.rollingmetrics.counter.SmoothlyDecayingRollingCounter
 
getRollingWindow() - Method in class com.github.rollingmetrics.hitratio.SmoothlyDecayingRollingHitRatio
 
getSize() - Method in class com.github.rollingmetrics.ranking.impl.ResetByChunksRanking
 
getSize() - Method in class com.github.rollingmetrics.ranking.impl.ResetOnSnapshotRanking
 
getSize() - Method in class com.github.rollingmetrics.ranking.impl.SnapshotCachingRanking
 
getSize() - Method in class com.github.rollingmetrics.ranking.impl.UniformRanking
 
getSize() - Method in interface com.github.rollingmetrics.ranking.Ranking
 
getSnapshot(Histogram, Function<Histogram, RollingSnapshot>) - Static method in class com.github.rollingmetrics.histogram.hdr.HdrHistogramUtil
 
getSnapshot() - Method in class com.github.rollingmetrics.histogram.hdr.impl.AbstractRollingHdrHistogram
 
getSnapshot(Function<Histogram, RollingSnapshot>) - Method in class com.github.rollingmetrics.histogram.hdr.impl.AbstractRollingHdrHistogram
 
getSnapshot(Function<Histogram, RollingSnapshot>) - Method in class com.github.rollingmetrics.histogram.hdr.impl.ResetByChunksRollingHdrHistogramImpl
 
getSnapshot(Function<Histogram, RollingSnapshot>) - Method in class com.github.rollingmetrics.histogram.hdr.impl.ResetOnSnapshotRollingHdrHistogramImpl
 
getSnapshot(Function<Histogram, RollingSnapshot>) - Method in class com.github.rollingmetrics.histogram.hdr.impl.UniformRollingHdrHistogramImpl
 
getSnapshot() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingHdrHistogram
 
getStdDev() - Method in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
getStdDev() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingSnapshot
 
getSum() - Method in class com.github.rollingmetrics.counter.ResetOnSnapshotCounter
 
getSum() - Method in class com.github.rollingmetrics.counter.ResetPeriodicallyCounter
 
getSum() - Method in class com.github.rollingmetrics.counter.SmoothlyDecayingRollingCounter
 
getSum() - Method in interface com.github.rollingmetrics.counter.WindowCounter
Returns the counter's current value.
getThreshold() - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
getThreshold() - Method in class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
getValue(double) - Method in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
getValue(double) - Method in interface com.github.rollingmetrics.histogram.hdr.RollingSnapshot
 
getValues() - Method in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
getValues() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingSnapshot
 
getWeight() - Method in class com.github.rollingmetrics.ranking.Position
 

H

hashCode() - Method in class com.github.rollingmetrics.ranking.Position
 
HdrHistogramUtil - Class in com.github.rollingmetrics.histogram.hdr
 
HdrHistogramUtil() - Constructor for class com.github.rollingmetrics.histogram.hdr.HdrHistogramUtil
 
histogramValuesToString(Histogram) - Static method in class com.github.rollingmetrics.histogram.hdr.impl.AbstractRollingHdrHistogram
 
HitRatio - Interface in com.github.rollingmetrics.hitratio
The metric for hit ratio measurement.
HitRatioUtil - Class in com.github.rollingmetrics.hitratio
This is not part of public API.
HitRatioUtil() - Constructor for class com.github.rollingmetrics.hitratio.HitRatioUtil
 

I

incrementHitCount() - Method in interface com.github.rollingmetrics.hitratio.HitRatio
Registers the fact of single hit.
incrementMissCount() - Method in interface com.github.rollingmetrics.hitratio.HitRatio
Registers the fact of single miss.
INSTANCE - Static variable in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
isCreatedBecauseOfOverflow() - Method in class com.github.rollingmetrics.blocks.BufferedActor.ReusableActionContainer
 

L

LeveledHistogram - Class in com.github.rollingmetrics.histogram.leveled
Created by vladimir.bukhtoyarov on 23.06.2017.
LeveledHistogram() - Constructor for class com.github.rollingmetrics.histogram.leveled.LeveledHistogram
 

M

MAX_CHUNKS - Static variable in class com.github.rollingmetrics.ranking.RankingBuilder
 
MAX_POSITION_COUNT - Static variable in class com.github.rollingmetrics.ranking.RankingBuilder
 
MIN_CHUNK_RESETTING_INTERVAL_MILLIS - Static variable in class com.github.rollingmetrics.ranking.RankingBuilder
 
MIN_LENGTH_OF_QUERY_DESCRIPTION - Static variable in class com.github.rollingmetrics.ranking.RankingBuilder
 
mock(AtomicLong) - Static method in interface com.github.rollingmetrics.util.Ticker
 
MockTicker - Class in com.github.rollingmetrics.util
 
MockTicker(AtomicLong) - Constructor for class com.github.rollingmetrics.util.MockTicker
 
ModifyRankingAction() - Constructor for class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking.ModifyRankingAction
 

N

nanoTime() - Method in class com.github.rollingmetrics.util.DefaultTicker
 
nanoTime() - Method in class com.github.rollingmetrics.util.MockTicker
 
nanoTime() - Method in interface com.github.rollingmetrics.util.Ticker
Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds.
neverResetPositions() - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Top configured with this strategy will store all values since the ranking was created.
neverResetReservoir() - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Reservoir configured with this strategy will store all values since the reservoir was created.
newBuilder(int) - Static method in class com.github.rollingmetrics.ranking.RankingBuilder
Creates new builder instance.
newThread(Runnable) - Method in class com.github.rollingmetrics.util.DaemonThreadFactory
 

O

OverflowResolver - Enum in com.github.rollingmetrics.histogram
Specifies behavior which should be applied when need to write to reservoir value which greater than highestTrackableValue.

P

Position - Class in com.github.rollingmetrics.ranking
Represents position inside ranking.
Position(long, Object) - Constructor for class com.github.rollingmetrics.ranking.Position
 
printArray(Object[], String) - Static method in class com.github.rollingmetrics.util.Printer
 
Printer - Class in com.github.rollingmetrics.util
 
Printer() - Constructor for class com.github.rollingmetrics.util.Printer
 
processAllScheduledActions() - Method in class com.github.rollingmetrics.blocks.BufferedActor
 

R

Ranking<T> - Interface in com.github.rollingmetrics.ranking
The ranking of queries sorted by its latency.
RankingBuilder - Class in com.github.rollingmetrics.ranking
The builder for Ranking.
RankingRecorder - Class in com.github.rollingmetrics.ranking.impl.recorder
Is not a part of public API, this class just used as building block for different Ranking implementations.
RankingRecorder(int, long) - Constructor for class com.github.rollingmetrics.ranking.impl.recorder.RankingRecorder
 
RecorderSettings - Class in com.github.rollingmetrics.histogram.hdr
 
RecorderSettings(int, Optional<Long>, Optional<double[]>, Optional<Long>, Optional<OverflowResolver>, Optional<Long>) - Constructor for class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
recordSingleValueWithExpectedInterval(long, long) - Method in class com.github.rollingmetrics.histogram.hdr.impl.AbstractRollingHdrHistogram
 
recordSingleValueWithExpectedInterval(long, long) - Method in class com.github.rollingmetrics.histogram.hdr.impl.ResetByChunksRollingHdrHistogramImpl
 
recordSingleValueWithExpectedInterval(long, long) - Method in class com.github.rollingmetrics.histogram.hdr.impl.ResetOnSnapshotRollingHdrHistogramImpl
 
recordSingleValueWithExpectedInterval(long, long) - Method in class com.github.rollingmetrics.histogram.hdr.impl.UniformRollingHdrHistogramImpl
 
reset(Histogram) - Static method in class com.github.rollingmetrics.histogram.hdr.HdrHistogramUtil
 
reset() - Method in class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
resetAllPositionsOnSnapshot() - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Ranking configured with this strategy will be cleared each time when Ranking.getPositionsInDescendingOrder() invoked.
resetAllPositionsPeriodically(Duration) - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Ranking configured with this strategy will be cleared at all after each intervalBetweenResetting elapsed.
ResetByChunksRanking - Class in com.github.rollingmetrics.ranking.impl
 
ResetByChunksRanking(int, long, long, int, Ticker, Executor) - Constructor for class com.github.rollingmetrics.ranking.impl.ResetByChunksRanking
 
ResetByChunksRollingHdrHistogramImpl - Class in com.github.rollingmetrics.histogram.hdr.impl
 
ResetByChunksRollingHdrHistogramImpl(RecorderSettings, int, long, Ticker, Executor) - Constructor for class com.github.rollingmetrics.histogram.hdr.impl.ResetByChunksRollingHdrHistogramImpl
 
ResetOnSnapshotCounter - Class in com.github.rollingmetrics.counter
The counter which reset its state to zero after each invocation of ResetOnSnapshotCounter.getSum().
ResetOnSnapshotCounter() - Constructor for class com.github.rollingmetrics.counter.ResetOnSnapshotCounter
 
ResetOnSnapshotHitRatio - Class in com.github.rollingmetrics.hitratio
The hit-ratio which reset its state to zero after each invocation of ResetOnSnapshotHitRatio.getHitRatio().
ResetOnSnapshotHitRatio() - Constructor for class com.github.rollingmetrics.hitratio.ResetOnSnapshotHitRatio
 
ResetOnSnapshotRanking<T> - Class in com.github.rollingmetrics.ranking.impl
 
ResetOnSnapshotRanking(int, long) - Constructor for class com.github.rollingmetrics.ranking.impl.ResetOnSnapshotRanking
 
ResetOnSnapshotRollingHdrHistogramImpl - Class in com.github.rollingmetrics.histogram.hdr.impl
 
ResetOnSnapshotRollingHdrHistogramImpl(RecorderSettings) - Constructor for class com.github.rollingmetrics.histogram.hdr.impl.ResetOnSnapshotRollingHdrHistogramImpl
 
ResetPeriodicallyCounter - Class in com.github.rollingmetrics.counter
The counter which reset its state to zero each time when configured interval is elapsed.
ResetPeriodicallyCounter(Duration) - Constructor for class com.github.rollingmetrics.counter.ResetPeriodicallyCounter
Constructs the counter which reset its state to zero each time when resetInterval is elapsed.
ResetPeriodicallyCounter(Duration, Ticker) - Constructor for class com.github.rollingmetrics.counter.ResetPeriodicallyCounter
 
ResetPeriodicallyHitRatio - Class in com.github.rollingmetrics.hitratio
The hit-ratio which reset its state to zero each time when configured interval is elapsed.
ResetPeriodicallyHitRatio(Duration) - Constructor for class com.github.rollingmetrics.hitratio.ResetPeriodicallyHitRatio
Constructs the hit-ratio which reset its state to zero each time when resetInterval is elapsed.
ResetPeriodicallyHitRatio(Duration, Ticker) - Constructor for class com.github.rollingmetrics.hitratio.ResetPeriodicallyHitRatio
 
resetPositionsPeriodicallyByChunks(Duration, int) - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Ranking configured with this strategy will be divided to numberChunks parts, and one chunk will be cleared after each rollingTimeWindow / numberChunks elapsed.
resetReservoirOnSnapshot() - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Reservoir configured with this strategy will be cleared each time when snapshot taken.
resetReservoirPeriodically(Duration) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Reservoir configured with this strategy will be cleared fully after each resettingPeriod.
resetReservoirPeriodicallyByChunks(Duration, int) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Reservoir configured with this strategy will be divided to numberChunks parts, and one chunk will be cleared after each rollingTimeWindow / numberChunks elapsed.
resetUnsafe() - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
ResilientExecutionUtil - Class in com.github.rollingmetrics.util
Util class which should be used for execution tasks(like histogram rotation) in background.
ReusableActionContainer() - Constructor for class com.github.rollingmetrics.blocks.BufferedActor.ReusableActionContainer
 
RollingHdrHistogram - Interface in com.github.rollingmetrics.histogram.hdr
TODO
RollingHdrHistogramBuilder - Class in com.github.rollingmetrics.histogram.hdr
The builder for creation and registration histograms, timers and reservoirs.
RollingHdrHistogramBuilder(Ticker) - Constructor for class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
 
RollingSnapshot - Interface in com.github.rollingmetrics.histogram.hdr
TODO
run() - Method in class com.github.rollingmetrics.blocks.BufferedActor.ReusableActionContainer
 
run() - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking.ModifyRankingAction
 

S

setThreadFactory(ThreadFactory) - Method in class com.github.rollingmetrics.util.ResilientExecutionUtil
Sets the thread threadFactory which will be used for construction of SingleThreadExecutor.
shutdownBackgroundExecutor() - Method in class com.github.rollingmetrics.util.ResilientExecutionUtil
If the ResilientExecutionUtil.getBackgroundExecutor() was called before, the this method perform shutdown of background execution thread.
SingleThreadedRanking - Class in com.github.rollingmetrics.ranking.impl.recorder
Is not a part of public API, this class just used as building block for high-level Ranking implementations.
SingleThreadedRanking(int, long) - Constructor for class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
SingleThreadedRanking.UpdateResult - Enum in com.github.rollingmetrics.ranking.impl.recorder
 
SingleThreadExecutor - Class in com.github.rollingmetrics.util
Executor implementation which normally executes tasks in dedicated thread.
size() - Method in class com.github.rollingmetrics.histogram.hdr.EmptyRollingSnapshot
 
size() - Method in interface com.github.rollingmetrics.histogram.hdr.RollingSnapshot
 
SmoothlyDecayingRollingCounter - Class in com.github.rollingmetrics.counter
The rolling time window counter implementation which resets its state by chunks.
SmoothlyDecayingRollingCounter(Duration, int) - Constructor for class com.github.rollingmetrics.counter.SmoothlyDecayingRollingCounter
Constructs the chunked counter divided by numberChunks.
SmoothlyDecayingRollingCounter(Duration, int, Ticker) - Constructor for class com.github.rollingmetrics.counter.SmoothlyDecayingRollingCounter
 
SmoothlyDecayingRollingHitRatio - Class in com.github.rollingmetrics.hitratio
The rolling time window hit-ratio implementation which resets its state by chunks.
SmoothlyDecayingRollingHitRatio(Duration, int) - Constructor for class com.github.rollingmetrics.hitratio.SmoothlyDecayingRollingHitRatio
Constructs the chunked hit-ratio divided by numberChunks.
SmoothlyDecayingRollingHitRatio(Duration, int, Ticker) - Constructor for class com.github.rollingmetrics.hitratio.SmoothlyDecayingRollingHitRatio
 
SnapshotCachingRanking<T> - Class in com.github.rollingmetrics.ranking.impl
 
SnapshotCachingRanking(Ranking<T>, Duration, Ticker) - Constructor for class com.github.rollingmetrics.ranking.impl.SnapshotCachingRanking
 
stableMilliseconds() - Method in class com.github.rollingmetrics.util.DefaultTicker
 
stableMilliseconds() - Method in class com.github.rollingmetrics.util.MockTicker
 
stableMilliseconds() - Method in interface com.github.rollingmetrics.util.Ticker
Returns the current value of the running Java Virtual Machine's high-resolution time source, in milliseconds with following characteristics: Value is not sensitive to any change of system time. Value is always positive. Value is not correlated to Date.
stopExecutionThread() - Method in class com.github.rollingmetrics.util.SingleThreadExecutor
Stops the executor thread

T

Ticker - Interface in com.github.rollingmetrics.util
The wrapper around time measurement which useful for unit testing purposes.
toString() - Method in class com.github.rollingmetrics.counter.ResetOnSnapshotCounter
 
toString() - Method in class com.github.rollingmetrics.counter.ResetPeriodicallyCounter
 
toString() - Method in class com.github.rollingmetrics.counter.SmoothlyDecayingRollingCounter
 
toString() - Method in class com.github.rollingmetrics.histogram.hdr.impl.AbstractRollingHdrHistogram
 
toString() - Method in class com.github.rollingmetrics.histogram.hdr.impl.ResetByChunksRollingHdrHistogramImpl
 
toString() - Method in class com.github.rollingmetrics.histogram.hdr.impl.ResetOnSnapshotRollingHdrHistogramImpl
 
toString() - Method in class com.github.rollingmetrics.histogram.hdr.impl.UniformRollingHdrHistogramImpl
 
toString() - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
 
toString() - Method in class com.github.rollingmetrics.hitratio.SmoothlyDecayingRollingHitRatio
 
toString() - Method in class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
toString() - Method in class com.github.rollingmetrics.ranking.impl.ResetByChunksRanking
 
toString() - Method in class com.github.rollingmetrics.ranking.impl.SnapshotCachingRanking
 
toString() - Method in class com.github.rollingmetrics.ranking.Position
 
toString() - Method in class com.github.rollingmetrics.util.DaemonThreadFactory
 

U

UniformHitRatio - Class in com.github.rollingmetrics.hitratio
The hit-ratio which never evicts collected values.
UniformHitRatio() - Constructor for class com.github.rollingmetrics.hitratio.UniformHitRatio
 
UniformRanking<T> - Class in com.github.rollingmetrics.ranking.impl
 
UniformRanking(int, long) - Constructor for class com.github.rollingmetrics.ranking.impl.UniformRanking
 
UniformRollingHdrHistogramImpl - Class in com.github.rollingmetrics.histogram.hdr.impl
 
UniformRollingHdrHistogramImpl(RecorderSettings) - Constructor for class com.github.rollingmetrics.histogram.hdr.impl.UniformRollingHdrHistogramImpl
 
update(long) - Method in class com.github.rollingmetrics.histogram.hdr.impl.AbstractRollingHdrHistogram
 
update(long) - Method in interface com.github.rollingmetrics.histogram.hdr.RollingHdrHistogram
 
update(int, int) - Method in interface com.github.rollingmetrics.hitratio.HitRatio
Registers an result of bulk operations.
update(int, int) - Method in class com.github.rollingmetrics.hitratio.ResetOnSnapshotHitRatio
 
update(int, int) - Method in class com.github.rollingmetrics.hitratio.ResetPeriodicallyHitRatio
 
update(int, int) - Method in class com.github.rollingmetrics.hitratio.SmoothlyDecayingRollingHitRatio
 
update(int, int) - Method in class com.github.rollingmetrics.hitratio.UniformHitRatio
 
update(long, Object) - Method in class com.github.rollingmetrics.ranking.impl.recorder.ConcurrentRanking
 
update(long, Object) - Method in class com.github.rollingmetrics.ranking.impl.recorder.RankingRecorder
 
update(long, Object) - Method in class com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking
 
update(long, Object) - Method in class com.github.rollingmetrics.ranking.impl.ResetByChunksRanking
 
update(long, T) - Method in class com.github.rollingmetrics.ranking.impl.ResetOnSnapshotRanking
 
update(long, T) - Method in class com.github.rollingmetrics.ranking.impl.SnapshotCachingRanking
 
update(long, T) - Method in class com.github.rollingmetrics.ranking.impl.UniformRanking
 
update(long, T) - Method in interface com.github.rollingmetrics.ranking.Ranking
Updates the ranking positions.

V

validateParameters() - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
valueOf(String) - Static method in enum com.github.rollingmetrics.histogram.OverflowResolver
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking.UpdateResult
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.rollingmetrics.histogram.OverflowResolver
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.rollingmetrics.ranking.impl.recorder.SingleThreadedRanking.UpdateResult
Returns an array containing the constants of this enum type, in the order they are declared.

W

WindowCounter - Interface in com.github.rollingmetrics.counter
An incrementing and decrementing counter metric which having window semantic.
withBackgroundExecutor(Executor) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
withBackgroundExecutor(Executor) - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Configures the executor which will be used if any of RankingBuilder.resetAllPositionsPeriodically(Duration) (Duration)} or RankingBuilder.resetPositionsPeriodicallyByChunks(Duration, int) (Duration, int)} (Duration)}.
withExpectedIntervalBetweenValueSamples(long) - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
withExpectedIntervalBetweenValueSamples(long) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
When this setting is configured then it will be used to compensate for the loss of sampled values when a recorded value is larger than the expected interval between value samples, Histogram will auto-generate an additional series of decreasingly-smaller (down to the expectedIntervalBetweenValueSamples) value records.
withHighestTrackableValue(long, OverflowResolver) - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
withHighestTrackableValue(long, OverflowResolver) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Configures the highest value to be tracked by the histogram.
withLatencyThreshold(Duration) - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Configures the latency threshold.
withLowestDiscernibleValue(long) - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
withLowestDiscernibleValue(long) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Configures the lowest value that can be discerned.
withMaxLengthOfQueryDescription(int) - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Specifies the max length of description position int the ranking.
withoutSnapshotOptimization() - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
withoutSnapshotOptimization() - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Discards snapshot memory footprint optimization.
withPositionCount(int) - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Configures the maximum count of positions for ranking which will be constructed by this builder.
withPredefinedPercentiles(double[]) - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
withPredefinedPercentiles(double[]) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Configures list of percentiles which you plan to store in monitoring database.
withSignificantDigits(int) - Method in class com.github.rollingmetrics.histogram.hdr.RecorderSettings
 
withSignificantDigits(int) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Configures the number of significant decimal digits to which the histogram will maintain value resolution and separation.
withSnapshotCachingDuration(Duration) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
Configures the period for which taken snapshot will be cached.
withSnapshotCachingDuration(Duration) - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Configures the duration for caching the results of invocation of Ranking.getPositionsInDescendingOrder().
withTicker(Ticker) - Method in class com.github.rollingmetrics.histogram.hdr.RollingHdrHistogramBuilder
TODO
withTicker(Ticker) - Method in class com.github.rollingmetrics.ranking.RankingBuilder
Replaces default ticker.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2020. All rights reserved.