A C E F G I M N P R S T U V 

A

add(int) - Method in class com.berryworks.jquantify.EventCounter
Adds a number events.
add(int) - Method in class com.berryworks.jquantify.EventCounterInterval
 
add(int) - Method in interface com.berryworks.jquantify.Interval
Registers the occurrence of n new events.
add() - Method in class com.berryworks.jquantify.Metric
Adds a single event.
add(int) - Method in class com.berryworks.jquantify.Metric
Adds a number of events.
add(int) - Method in class com.berryworks.jquantify.SessionCounter
Counts the beginning of a session.
add(int) - Method in class com.berryworks.jquantify.SessionCounterInterval
 
add(int) - Method in class com.berryworks.jquantify.util.VMUsage
Take a sample of the current values from the VM.
asCSV(EventCounter) - Static method in class com.berryworks.jquantify.util.Format
 
asCSV(SessionCounter) - Static method in class com.berryworks.jquantify.util.Format
 

C

com.berryworks.jquantify - package com.berryworks.jquantify
Contains classes used to count events, both point-in-time events as well as session-oriented events having measurable duration, and efficiently provide lightweight statistics on their frequency, duration, and concurrency.
com.berryworks.jquantify.util - package com.berryworks.jquantify.util
 
copy(EventCounterInterval) - Method in class com.berryworks.jquantify.EventCounterInterval
 
copy(SessionCounterInterval) - Method in class com.berryworks.jquantify.SessionCounterInterval
Copies the state of the Interval argument into this SessionCounterInterval.
createIntervals() - Method in class com.berryworks.jquantify.EventCounter
 
createIntervals() - Method in class com.berryworks.jquantify.SessionCounter
 

E

EventCounter - Class in com.berryworks.jquantify
This class is used to count and observe the frequency of events.
EventCounter() - Constructor for class com.berryworks.jquantify.EventCounter
 
EventCounter(String, int) - Constructor for class com.berryworks.jquantify.EventCounter
Constructs an EventCounter with a specific interval duration.
EventCounter(String) - Constructor for class com.berryworks.jquantify.EventCounter
Constructs a new EventCounter with an interval duration of 1 second.
EventCounterInterval - Class in com.berryworks.jquantify
This class implements Interval for use by EventCounter.
EventCounterInterval() - Constructor for class com.berryworks.jquantify.EventCounterInterval
 
EventCounterInterval(long, long) - Constructor for class com.berryworks.jquantify.EventCounterInterval
Constructs a new EventCounterInterval.
events - Variable in class com.berryworks.jquantify.EventCounterInterval
Number of events that have been counted in this interval

F

Format - Class in com.berryworks.jquantify.util
 
Format() - Constructor for class com.berryworks.jquantify.util.Format
 

G

get(String) - Static method in class com.berryworks.jquantify.MetricRepository
Gets a Metric with a specified label.
getActiveThreads() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the activeThreads attribute of the VMUsage object
getActiveThreadsMaximum() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the activeThreadsMaximum attribute of the VMUsage object
getActiveThreadsMean() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the activeThreadsMean attribute of the VMUsage object
getActiveThreadsMinimum() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the activeThreadsMinimum attribute of the VMUsage object
getAge() - Method in class com.berryworks.jquantify.Metric
Gets the age of this metric in seconds.
getAgeMillis() - Method in class com.berryworks.jquantify.Metric
Gets the age of this metric in milliseconds.
getConcurrency() - Method in class com.berryworks.jquantify.SessionCounter
Gets the current concurrency, the number of sessions that have been added (started) without having yet been removed (stopped).
getConcurrency() - Method in class com.berryworks.jquantify.SessionCounterInterval
Gets the number of concurrent events underway at the present time.
getCount() - Method in class com.berryworks.jquantify.EventCounter
 
getCount() - Method in class com.berryworks.jquantify.Metric
Gets the total count of events.
getCount() - Method in class com.berryworks.jquantify.util.VMUsage
 
getCumulativeEvents() - Method in class com.berryworks.jquantify.EventCounter
Equivalent to getCount(), gets the total number of events added to this EventCounter.
getCumulativeEvents() - Method in class com.berryworks.jquantify.EventCounterInterval
 
getCumulativeEvents() - Method in interface com.berryworks.jquantify.Interval
Gets the total number of events, including those that occurred in previous intervals.
getCumulativeFreq() - Method in class com.berryworks.jquantify.EventCounter
Gets the overall event frequency for this EventCounter
getCurrentFreq() - Method in class com.berryworks.jquantify.EventCounter
Gets the current event frequency for this EventCounter.
getCurrentInterval() - Method in class com.berryworks.jquantify.EventCounter
Gets the current Interval, the one to which current events are added.
getDuration() - Method in class com.berryworks.jquantify.EventCounterInterval
 
getDuration() - Method in interface com.berryworks.jquantify.Interval
Gets the duration, in milliseconds, of this Interval
getEventCounter(String) - Static method in class com.berryworks.jquantify.EventCounter
Get an instance of an EventCounter with a particular label from the MetricRepository, creating one if necessary.
getEventRatePerSecond() - Method in class com.berryworks.jquantify.EventCounterInterval
 
getEventRatePerSecond() - Method in interface com.berryworks.jquantify.Interval
Returns the computed event rate per second during this Interval.
getEvents() - Method in class com.berryworks.jquantify.EventCounterInterval
 
getEvents() - Method in interface com.berryworks.jquantify.Interval
Gets the number of events counted during this interval.
getFreeMemory() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the freeMemory attribute of the VMUsage object
getFreeMemoryMaximum() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the freeMemoryMaximum attribute of the VMUsage object
getFreeMemoryMean() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the freeMemoryMean attribute of the VMUsage object
getFreeMemoryMinimum() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the freeMemoryMinimum attribute of the VMUsage object
getIntervalSeconds() - Method in class com.berryworks.jquantify.Metric
Gets the number of seconds in each interval.
getLabel() - Method in class com.berryworks.jquantify.Metric
Gets the descriptive label associated with this Metric instance.
getLabels() - Method in class com.berryworks.jquantify.MetricRepository
Gets the labels for all metrics in the repository.
getMaximumSessionStartTime() - Method in class com.berryworks.jquantify.SessionCounter
 
getMaximumSessionTime() - Method in class com.berryworks.jquantify.SessionCounter
Gets the number of milliseconds that elapsed during the longest completed session.
getMetric(String) - Method in class com.berryworks.jquantify.MetricRepository
Gets a Metric with a specified label.
getPeakConcurrency() - Method in class com.berryworks.jquantify.SessionCounter
Gets the peak concurrency observed over the life of the metric.
getPeakConcurrency() - Method in class com.berryworks.jquantify.SessionCounterInterval
Gets the maximum concurrency level observed during this interval.
getPeakConcurrencyInterval() - Method in class com.berryworks.jquantify.SessionCounter
Gets the interval in which the highest concurrency was noted.
getPeakEvents() - Method in class com.berryworks.jquantify.EventCounter
Gets the number of events that occurred during the interval in which the most events occurred.
getPeakEventsInterval() - Method in class com.berryworks.jquantify.EventCounter
Gets the interval in which the greatest number of events were added.
getRecentSessionTime() - Method in class com.berryworks.jquantify.SessionCounter
Gets the number of milliseconds that a recent completed session took.
getSampleCount() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the sampleCount attribute of the VMUsage object
getSessionCounter(String) - Static method in class com.berryworks.jquantify.SessionCounter
Get an instance of a SessionCounter with a particular label from the MetricRepository, creating one if necessary.
getSessionCounter(String, int) - Static method in class com.berryworks.jquantify.SessionCounter
Get an instance of a SessionCounter with a particular label from the MetricRepository.
getSessionTime() - Method in class com.berryworks.jquantify.SessionCounter
Gets the number of milliseconds of elapsed time spent within sessions observed by this SessionCounter.
getSessionTimeMean() - Method in class com.berryworks.jquantify.SessionCounter
Gets the mean session time in milliseconds.
getStartTime() - Method in class com.berryworks.jquantify.EventCounterInterval
 
getStartTime() - Method in interface com.berryworks.jquantify.Interval
Gets a timestamp corresponding to the start of this Interval in System.currentTimeMillis() format.
getTotalIntervals() - Method in class com.berryworks.jquantify.Metric
Gets number of intervals that have occurred during the life of this Metric.
getTotalIntervals() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the totalIntervals attribute of the VMUsage object
getTotalMemory() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the totalMemory attribute of the VMUsage object
getTotalMemoryMaximum() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the totalMemoryMaximum attribute of the VMUsage object
getTotalMemoryMean() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the totalMemoryMean attribute of the VMUsage object
getTotalMemoryMinimum() - Method in class com.berryworks.jquantify.util.VMUsage
Gets the totalMemoryMinimum attribute of the VMUsage object
getUnits() - Method in class com.berryworks.jquantify.util.TimeScaler
 

I

instance() - Static method in class com.berryworks.jquantify.MetricRepository
Returns the singleton instance of MetricRepository.
Interval - Interface in com.berryworks.jquantify
An object that counts events occurring during a single time slice within the life of a Metric instance.
intervalsBefore(long) - Method in class com.berryworks.jquantify.EventCounterInterval
Returns the number of intervals that have elapsed between this Interval and the time specified by the argument.
intervalsBefore(long) - Method in interface com.berryworks.jquantify.Interval
Returns the number of intervals that have elapsed between this Interval and the time specified by the argument.
intervalSeconds - Variable in class com.berryworks.jquantify.Metric
How many seconds are in each interval
isPast() - Method in class com.berryworks.jquantify.EventCounterInterval
 
isPast() - Method in interface com.berryworks.jquantify.Interval
Returns true if the current time is after the end of this interval.

M

mCurrentInterval - Variable in class com.berryworks.jquantify.EventCounter
 
Metric - Class in com.berryworks.jquantify
Abstract superclass for EventCounter, SessionCounter, and other metric classes.
Metric(String, int) - Constructor for class com.berryworks.jquantify.Metric
Constructs a new Metric.
Metric(String) - Constructor for class com.berryworks.jquantify.Metric
Constructs a new Metric with an interval duration of 1 second.
Metric() - Constructor for class com.berryworks.jquantify.Metric
No-arg constructor necessary for serialization.
metricAsCSV(Metric) - Static method in class com.berryworks.jquantify.util.Format
 
MetricRepository - Class in com.berryworks.jquantify
A singleton repository for accessing Metric instances by their label.
mNow - Variable in class com.berryworks.jquantify.EventCounter
 
mPeakEvents - Variable in class com.berryworks.jquantify.EventCounter
 
mPriorInterval - Variable in class com.berryworks.jquantify.EventCounter
 

N

normalize() - Method in class com.berryworks.jquantify.EventCounter
Normalizes this EventCounter if necessary.
normalizeCurrent_ScenarioA() - Method in class com.berryworks.jquantify.EventCounter
 
normalizeCurrent_ScenarioA() - Method in class com.berryworks.jquantify.SessionCounter
 
normalizeCurrent_ScenarioB() - Method in class com.berryworks.jquantify.EventCounter
 
normalizeCurrent_ScenarioB() - Method in class com.berryworks.jquantify.SessionCounter
 
normalizePrior_ScenarioA() - Method in class com.berryworks.jquantify.EventCounter
 
normalizePrior_ScenarioA() - Method in class com.berryworks.jquantify.SessionCounter
 
normalizePrior_ScenarioB(long) - Method in class com.berryworks.jquantify.EventCounter
 
normalizePrior_ScenarioB(long) - Method in class com.berryworks.jquantify.SessionCounter
 

P

percent(double, double) - Static method in class com.berryworks.jquantify.util.Format
 
put(Metric) - Static method in class com.berryworks.jquantify.MetricRepository
Places an instance of Metric into the repository.
putMetric(Metric) - Method in class com.berryworks.jquantify.MetricRepository
Places an instance of Metric into the repository.

R

remove(int) - Method in class com.berryworks.jquantify.SessionCounter
Informs this EventCounter that a previously added event is "finished" and no longer among the concurrent events.
remove() - Method in class com.berryworks.jquantify.SessionCounter
Removes a single event.
remove(int) - Method in class com.berryworks.jquantify.SessionCounterInterval
Remove a number of sessions
reset() - Method in class com.berryworks.jquantify.EventCounter
Reset this EventCounter to its "zero" condition so that it can be reused, avoiding the overhead of constructing a new instance.
reset() - Method in class com.berryworks.jquantify.Metric
Reset this Metric to its "zero" condition.
reset() - Method in class com.berryworks.jquantify.SessionCounter
Reset this SessionCounter to its "zero" condition so that it can be reused, avoiding the overhead of constructing a new instance.
reset() - Method in class com.berryworks.jquantify.util.VMUsage
 

S

scale(float) - Method in class com.berryworks.jquantify.util.TimeScaler
 
SessionCounter - Class in com.berryworks.jquantify
This class is used to count and observe the frequency, duration, and concurrency of events that have distinct start/stop times.
SessionCounter() - Constructor for class com.berryworks.jquantify.SessionCounter
 
SessionCounter(String, int) - Constructor for class com.berryworks.jquantify.SessionCounter
Constructor for the SessionCounter object
SessionCounter(String) - Constructor for class com.berryworks.jquantify.SessionCounter
Constructs a new SessionCounter.
SessionCounterInterval - Class in com.berryworks.jquantify
This class implements Interval for use by SessionCounter.
SessionCounterInterval() - Constructor for class com.berryworks.jquantify.SessionCounterInterval
 
setClosed(boolean) - Method in class com.berryworks.jquantify.EventCounterInterval
 
setClosed(boolean) - Method in interface com.berryworks.jquantify.Interval
Marks the interval as open or closed.
setLabel(String) - Method in class com.berryworks.jquantify.Metric
Sets the descriptive label associated with this Metric instance.
start() - Method in class com.berryworks.jquantify.SessionCounter
Functionally identical to add(), supporting the start/stop terminology which is more natural then add/remove when the emphasis is on measuring elapsed time within critical sections.
startTime - Variable in class com.berryworks.jquantify.Metric
When the Metric was constructed or reset
stop() - Method in class com.berryworks.jquantify.SessionCounter
Functionally identical to remove().

T

TimeScaler - Class in com.berryworks.jquantify.util
 
TimeScaler(float) - Constructor for class com.berryworks.jquantify.util.TimeScaler
 
toDecimalFormat(double) - Static method in class com.berryworks.jquantify.util.Format
 
toString() - Method in class com.berryworks.jquantify.EventCounterInterval
Summarizes this Interval as a String for display purposes.
toString() - Method in class com.berryworks.jquantify.SessionCounterInterval
 
totalIntervals - Variable in class com.berryworks.jquantify.Metric
Number of intervals that have occurred so far during the life of this Metric

U

uptime() - Static method in class com.berryworks.jquantify.Metric
Return the uptime in hours, measured from when the Metric class was loaded into the VM by the classloader.

V

VMUsage - Class in com.berryworks.jquantify.util
A subclass of Metric that observes memory usage and number of threads for the VM.
VMUsage(String) - Constructor for class com.berryworks.jquantify.util.VMUsage
 
A C E F G I M N P R S T U V 

Copyright © 2015. All rights reserved.