A C E F G I L M P S T V

A

add(StopWatch) - Method in class com.ecyrd.speed4j.log.CollectedStatistics
Add a StopWatch to the statistics.

C

CollectedStatistics - Class in com.ecyrd.speed4j.log
Represents a statistics item which contains data which has been collected over time.
CollectedStatistics() - Constructor for class com.ecyrd.speed4j.log.CollectedStatistics
 
com.ecyrd.speed4j - package com.ecyrd.speed4j
 
com.ecyrd.speed4j.log - package com.ecyrd.speed4j.log
 
com.ecyrd.speed4j.util - package com.ecyrd.speed4j.util
 
ConfigurationException - Exception in com.ecyrd.speed4j
Thrown whenever there's a problem with Speed4J configuration.
ConfigurationException(String, Throwable) - Constructor for exception com.ecyrd.speed4j.ConfigurationException
 
ConfigurationException(Throwable) - Constructor for exception com.ecyrd.speed4j.ConfigurationException
 
ConfigurationException(String) - Constructor for exception com.ecyrd.speed4j.ConfigurationException
 

E

evaluate(double[], double) - Method in class com.ecyrd.speed4j.util.Percentile
Returns an estimate of the pth percentile of the values in the values array.
evaluate(double[], int, int) - Method in class com.ecyrd.speed4j.util.Percentile
Returns an estimate of the quantileth percentile of the designated values in the values array.
evaluate(double[], int, int, double) - Method in class com.ecyrd.speed4j.util.Percentile
Returns an estimate of the pth percentile of the values in the values array, starting with the element in (0-based) position begin in the array and including length values.
evaluate(List<Double>, int) - Method in class com.ecyrd.speed4j.util.Percentile
 

F

freeze() - Method in class com.ecyrd.speed4j.StopWatch
Returns a cloned, freezed copy of the StopWatch.

G

getAttribute(String) - Method in class com.ecyrd.speed4j.log.PeriodicalLog
 
getAttributes(String[]) - Method in class com.ecyrd.speed4j.log.PeriodicalLog
 
getAverageMS() - Method in class com.ecyrd.speed4j.log.CollectedStatistics
Returns the average of the StopWatches recorded.
getCreationTime() - Method in class com.ecyrd.speed4j.StopWatch
Returns the moment in time at which this StopWatch was created (milliseconds since EPOCH).
getDefault() - Static method in class com.ecyrd.speed4j.StopWatchFactory
Returns the default StopWatchFactory, which contains no Log configuration.
getInstance(Log) - Static method in class com.ecyrd.speed4j.StopWatchFactory
Return new StopWatchFactory which uses the specified Log.
getInstance(String) - Static method in class com.ecyrd.speed4j.StopWatchFactory
Returns a StopWatchFactory that has been configured previously.
getInvocations() - Method in class com.ecyrd.speed4j.log.CollectedStatistics
Returns the number of stopwatches.
getMax() - Method in class com.ecyrd.speed4j.log.CollectedStatistics
Returns the slowest StopWatch time recorded.
getMBeanInfo() - Method in class com.ecyrd.speed4j.log.PeriodicalLog
 
getMessage() - Method in class com.ecyrd.speed4j.StopWatch
Returns the message associated with this StopWatch.
getMin() - Method in class com.ecyrd.speed4j.log.CollectedStatistics
Returns the fastest StopWatch time recorded.
getName() - Method in class com.ecyrd.speed4j.log.Log
Returns the name of the Log.
getPercentile(int) - Method in class com.ecyrd.speed4j.log.CollectedStatistics
Get the nth percentile.
getQuantile() - Method in class com.ecyrd.speed4j.util.Percentile
Returns the value of the quantile field (determines what percentile is computed when evaluate() is called with no quantile argument).
getStdDev() - Method in class com.ecyrd.speed4j.log.CollectedStatistics
Returns the standard deviation of all StopWatches recorded.
getStopWatch() - Method in class com.ecyrd.speed4j.StopWatchFactory
Return a StopWatch for an empty tag and empty message.
getStopWatch(String) - Method in class com.ecyrd.speed4j.StopWatchFactory
Returns a StopWatch for the given tag and null message.
getStopWatch(String, String) - Method in class com.ecyrd.speed4j.StopWatchFactory
Returns a StopWatch for the given tag and given message.
getTag() - Method in class com.ecyrd.speed4j.StopWatch
Returns the tag (grouping) for this StopWatch.
getTimeNanos() - Method in class com.ecyrd.speed4j.StopWatch
Returns the elapsed time in nanoseconds.

I

internalStop() - Method in class com.ecyrd.speed4j.LoggingStopWatch
If the log exists and is enabled, sends this StopWatch to the given Log to be logged.
internalStop() - Method in class com.ecyrd.speed4j.StopWatch
The internal stop() method, which can be overridden by subclasses to provide additional functionality at stop().
invoke(String, Object[], String[]) - Method in class com.ecyrd.speed4j.log.PeriodicalLog
 
isEnabled() - Method in class com.ecyrd.speed4j.log.Log
Returns true, if this Log is enabled.

L

lap() - Method in class com.ecyrd.speed4j.StopWatch
Stops and starts the StopWatch, essentially resetting it.
Log - Class in com.ecyrd.speed4j.log
Base class for the Logs.
Log() - Constructor for class com.ecyrd.speed4j.log.Log
 
log(StopWatch) - Method in class com.ecyrd.speed4j.log.Log
Logs the given StopWatch.
log(StopWatch) - Method in class com.ecyrd.speed4j.log.PeriodicalLog
 
log(StopWatch) - Method in class com.ecyrd.speed4j.log.Slf4jLog
Logs using the INFO priority.
LoggingStopWatch - Class in com.ecyrd.speed4j
A version of StopWatch which outputs the result upon stop() to the internal Log.
LoggingStopWatch(Log, String, String) - Constructor for class com.ecyrd.speed4j.LoggingStopWatch
Creates a LoggingStopWatch associated with the given Log.

M

m_log - Variable in class com.ecyrd.speed4j.log.Slf4jLog
Stores the SLF4J logger instance.

P

Percentile - Class in com.ecyrd.speed4j.util
Provides percentile computation.
Percentile() - Constructor for class com.ecyrd.speed4j.util.Percentile
Constructs a Percentile with a default quantile value of 50.0.
Percentile(double) - Constructor for class com.ecyrd.speed4j.util.Percentile
Constructs a Percentile with the specific quantile value.
PeriodicalLog - Class in com.ecyrd.speed4j.log
A Periodical log which can also expose its attributes via JMX.
PeriodicalLog() - Constructor for class com.ecyrd.speed4j.log.PeriodicalLog
Creates an instance of PeriodicalLog.

S

set(Object, String, String) - Static method in class com.ecyrd.speed4j.util.SetterUtil
Sets the given parameter on the object while smartly parsing the value.
setAttribute(Attribute) - Method in class com.ecyrd.speed4j.log.PeriodicalLog
 
setAttributes(AttributeList) - Method in class com.ecyrd.speed4j.log.PeriodicalLog
 
setEnable(boolean) - Method in class com.ecyrd.speed4j.log.Log
Enable or disable this Log.
setJmx(String) - Method in class com.ecyrd.speed4j.log.PeriodicalLog
Set the tags which are shown via JMX.
setName(String) - Method in class com.ecyrd.speed4j.log.Log
Sets the name of the Log.
setPeriod(int) - Method in class com.ecyrd.speed4j.log.PeriodicalLog
Set the logging period in seconds.
setQuantile(double) - Method in class com.ecyrd.speed4j.util.Percentile
Sets the value of the quantile field (determines what percentile is computed when evaluate() is called with no quantile argument).
setSlf4jLogname(String) - Method in class com.ecyrd.speed4j.log.Slf4jLog
Set the name of the logger that this logger should log to.
SetterUtil - Class in com.ecyrd.speed4j.util
Provides utility method to invoke a given setter on an object while smartly parsing the given argument.
shutdown() - Method in class com.ecyrd.speed4j.log.Log
Shuts the Log down.
shutdown() - Method in class com.ecyrd.speed4j.log.PeriodicalLog
Shuts down the collector thread and removes the JMX bean if it is registered.
shutdown() - Static method in class com.ecyrd.speed4j.StopWatchFactory
Shut down all StopWatchFactories.
Slf4jLog - Class in com.ecyrd.speed4j.log
A simple logger which does nothing except write the stopwatch data to the given SLF4J logger using Logger.info(String).
Slf4jLog() - Constructor for class com.ecyrd.speed4j.log.Slf4jLog
 
start() - Method in class com.ecyrd.speed4j.StopWatch
Starts a StopWatch which has been previously stopped.
stop() - Method in class com.ecyrd.speed4j.StopWatch
Stops the StopWatch.
stop(String) - Method in class com.ecyrd.speed4j.StopWatch
Stops the StopWatch and assigns the given tag to it.
stop(String, String) - Method in class com.ecyrd.speed4j.StopWatch
Stops the StopWatch, assigns the tag and a free-form message.
StopWatch - Class in com.ecyrd.speed4j
Creates a simple StopWatch with nanosecond precision (though not necessarily accuracy).
StopWatch() - Constructor for class com.ecyrd.speed4j.StopWatch
 
StopWatch(String) - Constructor for class com.ecyrd.speed4j.StopWatch
 
StopWatch(String, String) - Constructor for class com.ecyrd.speed4j.StopWatch
 
StopWatchFactory - Class in com.ecyrd.speed4j
Provides a friendly way to get yer StopWatches.
StopWatchFactory(Log) - Constructor for class com.ecyrd.speed4j.StopWatchFactory
Create a StopWatchFactory using the given Log.

T

toString() - Method in class com.ecyrd.speed4j.StopWatch
Returns a human-readable string.
toString(int) - Method in class com.ecyrd.speed4j.StopWatch
Returns a human readable string which also calculates the speed of a single operation.

V

variance() - Method in class com.ecyrd.speed4j.log.CollectedStatistics
Returns the variance of all StopWatches recorded.

A C E F G I L M P S T V

Copyright © 2011. All Rights Reserved.