A B C D E F G H I L N P R S T U V 
All Classes All Packages

A

add(long) - Method in class com.yahoo.statistics.Histogram
 
addAxis(String, double[]) - Method in class com.yahoo.statistics.Limits
 

B

buildValue(String, Statistics, Value.Parameters) - Static method in class com.yahoo.statistics.Value
Build a Value which should be initialized from config.

C

Callback - Interface in com.yahoo.statistics
Definition of the callback interface for the statistics API.
cancel() - Method in class com.yahoo.statistics.Handle
Cancel this Handle and remove it from internal state in Statistics.
com.yahoo.statistics - package com.yahoo.statistics
 
Counter - Class in com.yahoo.statistics
A single integer value which can be incremented.
Counter(String, Statistics, boolean) - Constructor for class com.yahoo.statistics.Counter
A monotonically increasing 64 bit integer value.
Counter(String, Statistics, boolean, Callback, boolean) - Constructor for class com.yahoo.statistics.Counter
A monotonically increasing 64 bit integer value.
CounterGroup - Class in com.yahoo.statistics
A set of associated counters.
CounterGroup(String, Statistics) - Constructor for class com.yahoo.statistics.CounterGroup
 
CounterGroup(String, Statistics, boolean) - Constructor for class com.yahoo.statistics.CounterGroup
Create a basic group of counter which may or may not depend on config.
CounterGroup(String, Statistics, boolean, Callback, boolean) - Constructor for class com.yahoo.statistics.CounterGroup
Create a group of counters with a callback included.
CUMULATIVE - Static variable in class com.yahoo.statistics.HistogramType
Cumulative histograms, that is, a given bucket contains the count for values corresponding to "itself" and all preceding buckets.

D

deconstruct() - Method in class com.yahoo.statistics.StatisticsImpl
Cancel internal worker thread and do any other necessary cleanup.

E

equals(Object) - Method in class com.yahoo.statistics.Counter
 
equals(Object) - Method in class com.yahoo.statistics.CounterGroup
 
equals(Object) - Method in class com.yahoo.statistics.Handle
 
equals(Object) - Method in class com.yahoo.statistics.Value
 
equals(Object) - Method in class com.yahoo.statistics.ValueGroup
 

F

freeze() - Method in class com.yahoo.statistics.Limits
Prevent adding any mores axes.

G

get() - Method in class com.yahoo.statistics.Counter
 
get() - Method in class com.yahoo.statistics.Value
Get last value logged, 0 if nothing logged since reset.
getBuckets() - Method in class com.yahoo.statistics.Histogram
 
getConfig() - Method in interface com.yahoo.statistics.Statistics
Get current config used.
getConfig() - Method in class com.yahoo.statistics.Statistics.NullImplementation
 
getConfig() - Method in class com.yahoo.statistics.StatisticsImpl
Get current config used.
getMax() - Method in class com.yahoo.statistics.Value
Get maximum value logged since last reset.
getMean() - Method in class com.yahoo.statistics.Value
Get mean value since last reset.
getMin() - Method in class com.yahoo.statistics.Value
Get minimal value logged since last reset.
getResetCounter() - Method in class com.yahoo.statistics.Counter
The reset counter is true if this is counter is reset to 0 between each logging interval.
getSum() - Method in class com.yahoo.statistics.Histogram
 

H

Handle - Class in com.yahoo.statistics
Base class for the interface to the statistics framework.
hashCode() - Method in class com.yahoo.statistics.Counter
 
hashCode() - Method in class com.yahoo.statistics.CounterGroup
 
hashCode() - Method in class com.yahoo.statistics.Handle
 
hashCode() - Method in class com.yahoo.statistics.Value
 
hashCode() - Method in class com.yahoo.statistics.ValueGroup
 
Histogram - Class in com.yahoo.statistics
A set of sums or other histograms.
Histogram(Limits) - Constructor for class com.yahoo.statistics.Histogram
Build a new histogram using bucket limits from the given Limits object.
HistogramType - Class in com.yahoo.statistics
Enumeration of how a histogram should be represented from admin server.

I

increment() - Method in class com.yahoo.statistics.Counter
Increment by 1.
increment(long) - Method in class com.yahoo.statistics.Counter
Increment by n.
increment(String) - Method in class com.yahoo.statistics.CounterGroup
Increment named contained counter by 1.
increment(String, long) - Method in class com.yahoo.statistics.CounterGroup
Increment named contained counter by n.
isCancelled() - Method in class com.yahoo.statistics.Handle
Returns whether this object has been cancelled or not.
isFrozen() - Method in class com.yahoo.statistics.Limits
True if further change is not permitted.
isLeaf() - Method in class com.yahoo.statistics.Histogram
 

L

Limits - Class in com.yahoo.statistics
Limits for a histogram, this is only a wrapper for initializing a histogram.
Limits() - Constructor for class com.yahoo.statistics.Limits
Create an empty Limits instance.
Limits(double[]) - Constructor for class com.yahoo.statistics.Limits
Create a Limits instance suitable for use in a Value.Parameters instance.
lowerLimit() - Method in class com.yahoo.statistics.Histogram
The lower limit for the bucket this histogram represents.

N

nullImplementation - Static variable in interface com.yahoo.statistics.Statistics
A null implementation which ignores all calls and returns the default config
NullImplementation() - Constructor for class com.yahoo.statistics.Statistics.NullImplementation
 

P

Parameters() - Constructor for class com.yahoo.statistics.Value.Parameters
Get a fresh Parameters instance with all features turned/unset.
purge() - Method in class com.yahoo.statistics.Statistics.NullImplementation
 
purge() - Method in interface com.yahoo.statistics.Statistics
Purges all cancelled Handles from internal Map and Timer.
purge() - Method in class com.yahoo.statistics.StatisticsImpl
Purges all cancelled Handles from internal Map and Timer.
put(double) - Method in class com.yahoo.statistics.Value
Insert x, do all pertinent operations.
put(double[]) - Method in class com.yahoo.statistics.Histogram
Increment the corresponding bucket for this data point by 1.
put(double[], int) - Method in class com.yahoo.statistics.Histogram
Increment the corresponding bucket for this data point by 1.
put(String, double) - Method in class com.yahoo.statistics.ValueGroup
Put a value into the named value in the group.

R

register(Handle) - Method in class com.yahoo.statistics.Statistics.NullImplementation
 
register(Handle) - Method in interface com.yahoo.statistics.Statistics
Add a new handle to be scheduled for periodic logging.
register(Handle) - Method in class com.yahoo.statistics.StatisticsImpl
Add a new handle to be scheduled for periodic logging.
REGULAR - Static variable in class com.yahoo.statistics.HistogramType
Basic histograms, each bucket is count representing the bucket's defined interval.
remove(String) - Method in class com.yahoo.statistics.Statistics.NullImplementation
 
remove(String) - Method in interface com.yahoo.statistics.Statistics
Remove a named handler from the set of working handlers.
remove(String) - Method in class com.yahoo.statistics.StatisticsImpl
Remove a named handler from the set of working handlers.
reset() - Method in class com.yahoo.statistics.Counter
If this counter should be set to 0 between each logging interval, do that.
reset() - Method in class com.yahoo.statistics.Histogram
Reset all contained buckets.
reset() - Method in class com.yahoo.statistics.Value
Set last value logged container to 0, reset histogram and set all counters and derived statistics to 0.
REVERSE_CUMULATIVE - Static variable in class com.yahoo.statistics.HistogramType
Reverse cumulative histograms, that is, a given bucket contains the count for values corresponding to "itself" and all following buckets.
run() - Method in class com.yahoo.statistics.Handle
Run the callback object first, then invoke runHandle().
run(Handle, boolean) - Method in interface com.yahoo.statistics.Callback
Invoked each logging cycle right before the events for a Handle are emitted to the log.
runCallback() - Method in class com.yahoo.statistics.Handle
Run the callback object.
runHandle() - Method in class com.yahoo.statistics.Counter
Log current state and reset.
runHandle() - Method in class com.yahoo.statistics.CounterGroup
Dump contained counters to log and reset.
runHandle() - Method in class com.yahoo.statistics.Handle
Invoke an action to be performed periodically for a statistics Handle.
runHandle() - Method in class com.yahoo.statistics.Value
Dump state to log and reset.
runHandle() - Method in class com.yahoo.statistics.ValueGroup
Dump state to log and reset.

S

setAppendChar(Character) - Method in class com.yahoo.statistics.Value.Parameters
Separator character to use between event name and type of nameExtension is set to true.
setCallback(Callback) - Method in class com.yahoo.statistics.Value.Parameters
Set a callback to be invoked each time this Value is written to the log.
setHistogramId(HistogramType) - Method in class com.yahoo.statistics.Value.Parameters
What kind of histogram to log.
setLimits(Limits) - Method in class com.yahoo.statistics.Value.Parameters
The limits to use if logging as a histogram.
setLogHistogram(Boolean) - Method in class com.yahoo.statistics.Value.Parameters
(De-)Activate logging a data histogram.
setLogInsertions(Boolean) - Method in class com.yahoo.statistics.Value.Parameters
(De-)Activate loging the number of observations for each interval.
setLogMax(Boolean) - Method in class com.yahoo.statistics.Value.Parameters
(De-)Activate logging the maximal value observed for each interval.
setLogMean(Boolean) - Method in class com.yahoo.statistics.Value.Parameters
(De)-activate loging the mean value for each interval.
setLogMin(Boolean) - Method in class com.yahoo.statistics.Value.Parameters
(De-)Activate logging the minimal value observed for each interval.
setLogRaw(Boolean) - Method in class com.yahoo.statistics.Value.Parameters
(De-)Activate logging of raw values.
setLogSum(Boolean) - Method in class com.yahoo.statistics.Value.Parameters
(De-)Activate logging the sum of all data points for each interval.
setNameExtension(Boolean) - Method in class com.yahoo.statistics.Value.Parameters
Whether or not to add an identifying extension (like mean) to event names when logging derived values.
Statistics - Interface in com.yahoo.statistics
Interface used for registering statistics values and counters for logging.
Statistics.NullImplementation - Class in com.yahoo.statistics
 
StatisticsImpl - Class in com.yahoo.statistics
Centralized book keeping for statistics module.
StatisticsImpl(StatisticsConfig) - Constructor for class com.yahoo.statistics.StatisticsImpl
Build a statistics manager based on the given config values.

T

toString() - Method in class com.yahoo.statistics.Counter
 
toString() - Method in class com.yahoo.statistics.Histogram
 
toString() - Method in class com.yahoo.statistics.HistogramType
 
toString() - Method in class com.yahoo.statistics.Value
 

U

upperLimit() - Method in class com.yahoo.statistics.Histogram
The upper limit for the bucket this histogram represents.

V

Value - Class in com.yahoo.statistics
A statistical variable, typically representing a sampling of an arbitrarily changing parameter.
Value(String, Statistics, Value.Parameters) - Constructor for class com.yahoo.statistics.Value
Configure a Value instance fully, no raw config access.
Value.Parameters - Class in com.yahoo.statistics
Parameters for building Value instances.
ValueGroup - Class in com.yahoo.statistics
A set of related values which should be logged together.
ValueGroup(String, Statistics) - Constructor for class com.yahoo.statistics.ValueGroup
Create a ValueGroup.
ValueGroup(String, Statistics, Callback) - Constructor for class com.yahoo.statistics.ValueGroup
Create a ValueGroup.
A B C D E F G H I L N P R S T U V 
All Classes All Packages