- call() - Method in class net.jperf.TimedCallable
-
Executes the call method of the underlying task, using the LoggingStopWatch to track the execution time.
- checkAndRegisterMBean() - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
- checkAndRegisterMBean() - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
- clone() - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
- clone() - Method in class net.jperf.GroupedTimingStatistics
-
- clone() - Method in class net.jperf.helpers.AcceptableRangeConfiguration
-
- clone() - Method in class net.jperf.javalog.JavaLogStopWatch
-
- clone() - Method in class net.jperf.log4j.Log4JStopWatch
-
- clone() - Method in class net.jperf.LoggingStopWatch
-
- clone() - Method in class net.jperf.slf4j.Slf4JStopWatch
-
- clone() - Method in class net.jperf.StopWatch
-
- clone() - Method in class net.jperf.TimingStatistics
-
- close() - Method in class net.jperf.javalog.AsyncCoalescingHandler
-
- close() - Method in class net.jperf.javalog.GraphingStatisticsHandler
-
- close() - Method in class net.jperf.javalog.JmxAttributeStatisticsHandler
-
- close() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
- close() - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
- close() - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
- closeGraphingOutput(PrintStream) - Static method in class net.jperf.LogParser
-
- closeInput(Reader) - Static method in class net.jperf.LogParser
-
- closeStatisticsOutput(PrintStream) - Static method in class net.jperf.LogParser
-
- COLLISION_DONOTHING - Static variable in class net.jperf.helpers.StatisticsExposingMBean
-
When mbean was deployed multi-times, just throw an Exception.
- COLLISION_IGNORE - Static variable in class net.jperf.helpers.StatisticsExposingMBean
-
When mbean was deployed multi-times, ignore the new one, still using the old one.
- COLLISION_REPLACE - Static variable in class net.jperf.helpers.StatisticsExposingMBean
-
When mbean was deployed multi-times, using the new one to replace the old one.
- CommonsLogStopWatch - Class in net.jperf.commonslog
-
This LoggingStopWatch uses an Apache Commons Logging Log instance to persist the StopWatch messages.
- CommonsLogStopWatch() - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with a blank tag, no message and started at the instant of creation.
- CommonsLogStopWatch(Log) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Log to log stop watch messages using the info() method, or using the warn() method if an exception
is passed to one of the stop or lap methods.
- CommonsLogStopWatch(Log, int) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Log to log stop watch messages at the normalPriority level specified, or using the warn()
method if an exception is passed to one of the stop or lap methods.
- CommonsLogStopWatch(Log, int, int) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Log to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- CommonsLogStopWatch(String) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with the tag specified, no message and started at the instant of creation.
- CommonsLogStopWatch(String, Log) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with the tag specified, no message and started at the instant of creation, using
the specified Log to log stop watch using the info() method, or using the warn() method if an exception is
passed to one of the stop or lap methods.
- CommonsLogStopWatch(String, Log, int) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with the tag specified, no message and started at the instant of creation, using
the specified Log to log stop watch messages at the normalPriority level specified, or using the warn()
level if an exception is passed to one of the stop or lap methods.
- CommonsLogStopWatch(String, Log, int, int) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with the tag specified, no message and started at the instant of creation, using
the specified Log to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- CommonsLogStopWatch(String, String) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with the tag and message specified and started at the instant of creation.
- CommonsLogStopWatch(String, String, Log) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with the tag and message specified and started at the instant of creation, using
the specified Log to log stop watch messages using the info() method, or using the warn() method if an
exception is passed to one of the stop or lap methods.
- CommonsLogStopWatch(String, String, Log, int) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with the tag and message specified and started at the instant of creation, using
the specified Log to log stop watch messages at the normalPriority level specified, or using the warn() method
if an exception is passed to one of the stop or lap methods.
- CommonsLogStopWatch(String, String, Log, int, int) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
Creates a CommonsLogStopWatch with the tag and message specified and started at the instant of creation, using the
specified Log to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- CommonsLogStopWatch(long, long, String, String, Log, int, int) - Constructor for class net.jperf.commonslog.CommonsLogStopWatch
-
This constructor is mainly used for creation of StopWatch instances from logs and for testing.
- CONFIG_STRING_PATTERN - Static variable in class net.jperf.helpers.AcceptableRangeConfiguration
-
- COUNT_VALUE_RETRIEVER - Static variable in class net.jperf.helpers.StatsValueRetriever
-
- createChartGenerator() - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
Helper method creates a new StatisticsChartGenerator based on the options set on this appender.
- createChartGenerator() - Method in class net.jperf.logback.GraphingStatisticsAppender
-
Helper method creates a new StatisticsChartGenerator based on the options set on this appender.
- createMBeanInfoFromTagNames(Collection<String>) - Method in class net.jperf.helpers.StatisticsExposingMBean
-
Helper method creates an MBeanInfo object that contains 6 read only attributes for each tag name, each
attribute representing a different statistic.
- csvFormatter - Variable in class net.jperf.log4j.StatisticsCsvLayout
-
- csvFormatter - Variable in class net.jperf.logback.StatisticsCsvLayout
-
- currentTimingStatistics - Variable in class net.jperf.helpers.StatisticsExposingMBean
-
The current underlying timing statistics whose values are exposed as MBean attributes.
- generateGoogleChartParams() - Method in class net.jperf.chart.GoogleChartGenerator
-
Helper method takes the list of data values and converts them to a String suitable for appending to a Google
Chart URL.
- GenericAsyncCoalescingStatisticsAppender - Class in net.jperf.helpers
-
This class provides the implementation for the AsyncCoalescingStatisticsAppenders made available for different
logging frameworks.
- GenericAsyncCoalescingStatisticsAppender() - Constructor for class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
- GenericAsyncCoalescingStatisticsAppender.GroupedTimingStatisticsHandler - Interface in net.jperf.helpers
-
The GroupedTimingStatisticsHandler defines a callback interface so that logging-framework-specific
implementations can decide what to do with the coalesced GroupedTimingStatistics.
- get(Object) - Method in class net.jperf.helpers.PackageParentProperties
-
- getAllAppenders() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
- getAllAppenders() - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
- getAllGraphingStatisticsAppenders() - Static method in class net.jperf.log4j.GraphingStatisticsAppender
-
This static method returns an unmodifiable collection of all GraphingStatisticsAppenders that have been created.
- getAllGraphingStatisticsAppenders() - Static method in class net.jperf.logback.GraphingStatisticsAppender
-
This static method returns an unmodifiable collection of all GraphingStatisticsAppenders that have been created.
- getAllKnownGraphNames() - Method in class net.jperf.log4j.servlet.GraphingServlet
-
This method looks for all known GraphingStatisticsAppenders and returns their names.
- getAllKnownGraphNames() - Method in class net.jperf.logback.servlet.GraphingServlet
-
This method looks for all known GraphingStatisticsAppenders and returns their names.
- getAllKnownGraphNames() - Method in class net.jperf.servlet.AbstractGraphingServlet
-
Subclasses should implement this method to return a list of all possible known graph names.
- getAppender(String) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
- getAppender() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender.ShutdownHook
-
- getAppender(String) - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
- getAppender(String) - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
- getAppender(String) - Method in class net.jperf.logback.GraphingStatisticsAppender
-
- getAppenderByName(String) - Static method in class net.jperf.log4j.GraphingStatisticsAppender
-
This static method returns any created GraphingStatisticsAppender by its name.
- getAppenderByName(String) - Static method in class net.jperf.logback.GraphingStatisticsAppender
-
This static method returns any created GraphingStatisticsAppender by its name.
- getAttribute(String) - Method in class net.jperf.helpers.StatisticsExposingMBean
-
- getAttributeName() - Method in class net.jperf.helpers.AcceptableRangeConfiguration
-
- getAttributes(String[]) - Method in class net.jperf.helpers.StatisticsExposingMBean
-
- getChartGenerator() - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
Gets the contained StatisticsChartGenerator that is used to generate the graphs.
- getChartGenerator() - Method in class net.jperf.logback.GraphingStatisticsAppender
-
Gets the contained StatisticsChartGenerator that is used to generate the graphs.
- getChartGeneratorsToDisplay(HttpServletRequest) - Method in class net.jperf.servlet.AbstractGraphingServlet
-
Helper method generates the list of charts that are to be displayed in this call to the servlet.
- getChartUrl() - Method in class net.jperf.chart.GoogleChartGenerator
-
- getChartUrl() - Method in interface net.jperf.chart.StatisticsChartGenerator
-
Implementing classes should return a URL to the chart that depicts the data sent in to the appendData
method.
- getCollision() - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
the way to resolve mbean collision.
- getCollision() - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
the way to resolve mbean collision.
- getColumns() - Method in class net.jperf.log4j.StatisticsCsvLayout
-
The Columns option is a comma-separated list of the values that should be output for each line that
is printed.
- getColumns() - Method in class net.jperf.logback.StatisticsCsvLayout
-
The Columns option is a comma-separated list of the values that should be output for each line that
is printed.
- getCount() - Method in class net.jperf.TimingStatistics
-
- getData() - Method in class net.jperf.chart.GoogleChartGenerator
-
- getData() - Method in interface net.jperf.chart.StatisticsChartGenerator
-
Gets the data that will be visualized by any charts created by this chart generator.
- getDataPointsPerGraph() - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
The DataPointsPerGraph option is used to specify how much data should be displayed on each graph before
it is written to any attached appenders.
- getDataPointsPerGraph() - Method in class net.jperf.logback.GraphingStatisticsAppender
-
The DataPointsPerGraph option is used to specify how much data should be displayed on each graph before
it is written to any attached appenders.
- getDeclaringClass() - Method in interface net.jperf.aop.AbstractJoinPoint
-
Returns the declaring class of the method that was annotated.
- getDownstreamLogLevel() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
The DownstreamLogLevel option gets the Level of the GroupedTimingStatistics LoggingEvent that is sent to
downstream appenders.
- getDownstreamLogLevel() - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
The DownstreamLogLevel option gets the Level of the GroupedTimingStatistics LoggingEvent that is sent to
downstream appenders.
- getElapsedTime() - Method in class net.jperf.StopWatch
-
Gets the time in milliseconds between when this StopWatch was last started and stopped.
- getEnabledTags() - Method in class net.jperf.chart.GoogleChartGenerator
-
Gets the set of tag names for which values will be displayed on the chart.
- getExceptionPriority() - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
Gets the level at which log statements will be made when one of the stop or lap methods that DOES take an
exception is called.
- getExceptionPriority() - Method in class net.jperf.javalog.JavaLogStopWatch
-
Gets the Level at which log statements will be made when one of the stop or lap methods that DOES take an
exception is called.
- getExceptionPriority() - Method in class net.jperf.log4j.Log4JStopWatch
-
Gets the Level at which log statements will be made when one of the stop or lap methods that DOES take an
exception is called.
- getExceptionPriority() - Method in class net.jperf.slf4j.Slf4JStopWatch
-
Gets the level at which log statements will be made when one of the stop or lap methods that DOES take an
exception is called.
- getExecutingObject() - Method in interface net.jperf.aop.AbstractJoinPoint
-
Returns an object whose method was annotated (profiled).
- getGraphByName(String) - Method in class net.jperf.log4j.servlet.GraphingServlet
-
- getGraphByName(String) - Method in class net.jperf.logback.servlet.GraphingServlet
-
- getGraphByName(String) - Method in class net.jperf.servlet.AbstractGraphingServlet
-
Subclasses should implement this method to return a chart generator by its name.
- getGraphType() - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
The GraphType option is used to specify the data that should be displayed on the graph.
- getGraphType() - Method in class net.jperf.logback.GraphingStatisticsAppender
-
The GraphType option is used to specify the data that should be displayed on the graph.
- getHeight() - Method in class net.jperf.chart.GoogleChartGenerator
-
Gets the height of the chart that will be displayed
- getIndexOfArg(List<String>, boolean, String...) - Static method in class net.jperf.LogParser
-
- getJexlExpression(String) - Method in class net.jperf.aop.AgnosticTimingAspect
-
Helper method gets a compiled JEXL expression for the specified expression text, either from the cache or by
creating a new compiled expression.
- getLogger() - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
Gets the Apache Commons Logging Log that is used to persist logging statements when one of the stop or lap
methods is called.
- getLogger() - Method in class net.jperf.javalog.JavaLogStopWatch
-
Gets the java.util.logging Logger that is used to persist logging statements when one of the stop or lap methods
is called.
- getLogger() - Method in class net.jperf.log4j.Log4JStopWatch
-
Gets the log4j Logger that is used to persist logging statements when one of the stop or lap methods is called.
- getLogger() - Method in class net.jperf.slf4j.Slf4JStopWatch
-
Gets the Apache Commons Logging Logger that is used to persist logging statements when one of the stop or lap
methods is called.
- getMax() - Method in class net.jperf.TimingStatistics
-
- getMaxDataPoints() - Method in class net.jperf.chart.GoogleChartGenerator
-
Gets the maximum number of data points to display on a chart.
- getMaxValue() - Method in class net.jperf.helpers.AcceptableRangeConfiguration
-
- getMBeanInfo() - Method in class net.jperf.helpers.StatisticsExposingMBean
-
- getMBeanName() - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
The MBeanName option is used to specify the ObjectName under which the StatisticsExposingMBean in the
MBeanServer.
- getMBeanName() - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
The MBeanName option is used to specify the ObjectName under which the StatisticsExposingMBean in the
MBeanServer.
- getMBeanServer() - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
Gets the MBeanServer that should be used to register the StatisticsExposingMBean.
- getMBeanServer() - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
Gets the MBeanServer that should be used to register the StatisticsExposingMBean.
- getMean() - Method in class net.jperf.TimingStatistics
-
- getMessage() - Method in class net.jperf.StopWatch
-
Gets any additional message that was set on this StopWatch instance.
- getMethodName() - Method in interface net.jperf.aop.AbstractJoinPoint
-
Returns a processing method name.
- getMin() - Method in class net.jperf.TimingStatistics
-
- getMinValue() - Method in class net.jperf.helpers.AcceptableRangeConfiguration
-
- getName() - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
The name of this appender.
- getNormalPriority() - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
Gets the level at which log statements will be made when one of the stop or lap methods that does NOT take an
exception is called.
- getNormalPriority() - Method in class net.jperf.javalog.JavaLogStopWatch
-
Gets the Level at which log statements will be made when one of the stop or lap methods that does NOT take an
exception is called.
- getNormalPriority() - Method in class net.jperf.log4j.Log4JStopWatch
-
Gets the Level at which log statements will be made when one of the stop or lap methods that does NOT take an
exception is called.
- getNormalPriority() - Method in class net.jperf.slf4j.Slf4JStopWatch
-
Gets the level at which log statements will be made when one of the stop or lap methods that does NOT take an
exception is called.
- getNormalSuffix() - Method in class net.jperf.LoggingStopWatch
-
The suffix to append to the tag if normalAndSlowSuffixesEnabled=true and elapsedTime < timeThreshold and timeThreshold > 0.
- getNotificationInfo() - Method in class net.jperf.helpers.StatisticsExposingMBean
-
- getNotificationThresholds() - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
The NotificationThresholds option is a comma-separated list of acceptable range configurations.
- getNotificationThresholds() - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
The NotificationThresholds option is a comma-separated list of acceptable range configurations.
- getNumDiscardedMessages() - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
Returns the number of StopWatch messages that have been discarded due to the queue being full.
- getNumDiscardedMessages() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
Returns the number of StopWatch messages that have been discarded due to the queue being full.
- getNumDiscardedMessages() - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
Returns the number of StopWatch messages that have been discarded due to the queue being full.
- getParameters() - Method in interface net.jperf.aop.AbstractJoinPoint
-
Returns a parameters (arguments) array of processing method.
- getPattern() - Method in class net.jperf.helpers.StopWatchParser
-
Gets the Pattern object used by this StopWatchParser to parse StopWatch message strings.
- getProperty(String) - Method in class net.jperf.helpers.PackageParentProperties
-
- getProperty(String, String) - Method in class net.jperf.helpers.PackageParentProperties
-
- getQueueSize() - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
The QueueSize option is used to control the size of the internal queue used by this appender to store
logged messages before they are sent to downstream appenders.
- getQueueSize() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
The QueueSize option is used to control the size of the internal queue used by this appender to store
logged messages before they are sent to downstream appenders.
- getQueueSize() - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
The QueueSize option is used to control the size of the internal queue used by this appender to store
logged messages before they are sent to downstream appenders.
- getRollupStatistics(List<String>) - Static method in class net.jperf.LogParser
-
- getShutdownWaitMillis() - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
The ShutdownWaitMillis option is used to control how long this class will block, waiting for the queue
to drain, when shutting-down the Appender.
- getShutdownWaitMillis() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
The ShutdownWaitMillis option represents the length of time, in milliseconds,
that the appender should wait after the logging system shutdown commences, before forcibly
clearing asynchronous logging queues and interrupting the background queue-processing thread.
- getShutdownWaitMillis() - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
The ShutdownWaitMillis option represents the length of time, in milliseconds,
that the appender should wait after the logging system shutdown commences, before forcibly
clearing asynchronous logging queues and interrupting the background queue-processing thread.
- getSlowSuffix() - Method in class net.jperf.LoggingStopWatch
-
The suffix to append to the tag if normalAndSlowSuffixesEnabled=true and elapsedTime >= timeThreshold and timeThreshold > 0.
- getStandardDeviation() - Method in class net.jperf.TimingStatistics
-
- getStartTime() - Method in class net.jperf.GroupedTimingStatistics
-
- getStartTime() - Method in class net.jperf.StopWatch
-
Gets the time when this instance was created, or when one of the start() messages was last called.
- getStatisticsByTag() - Method in class net.jperf.GroupedTimingStatistics
-
- getStatisticsFormatter(List<String>) - Static method in class net.jperf.LogParser
-
- getStatsValue(TimingStatistics, long) - Method in class net.jperf.helpers.StatsValueRetriever
-
Retrieves a single statistic value from the specified TimingStatistics object.
- getStatsValueRetrievers() - Method in class net.jperf.helpers.StatisticsExposingMBean
-
Overridable helper method gets the Map of statistic name to StatsValueRetriever.
- getStopTime() - Method in class net.jperf.GroupedTimingStatistics
-
- getStopWatch() - Method in class net.jperf.TimedCallable
-
Gets the LoggingStopWatch that will be used to time the call method execution.
- getStopWatch() - Method in class net.jperf.TimedRunnable
-
Gets the LoggingStopWatch that will be used to time the run method execution.
- getStopWatchMessage(Profiled, AbstractJoinPoint, Object, Throwable) - Method in class net.jperf.aop.AgnosticTimingAspect
-
Helper method get the message to use for StopWatch logging.
- getStopWatchParserClassName() - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
The StopWatchParserClassName option is used to determine the class used to parse stop watch messages
into StopWatch instances.
- getStopWatchParserClassName() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
The StopWatchParserClassName option is used to determine the class used to parse stop watch messages
into StopWatch instances.
- getStopWatchParserClassName() - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
The StopWatchParserClassName option is used to determine the class used to parse stop watch messages
into StopWatch instances.
- getStopWatchTag(Profiled, AbstractJoinPoint, Object, Throwable) - Method in class net.jperf.aop.AgnosticTimingAspect
-
Helper method gets the tag to use for StopWatch logging.
- getTag() - Method in class net.jperf.LoggingStopWatch
-
- getTag() - Method in class net.jperf.StopWatch
-
Gets the tag used to group this StopWatch instance with other instances used to time the same code block.
- getTagNamesToExpose() - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
The TagNamesToExpose option is a comma-separated list of the tag names whose statistics values (e.g.
- getTagNamesToExpose() - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
The TagNamesToExpose option is a comma-separated list of the tag names whose statistics values (e.g.
- getTagNamesToGraph() - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
The TagNamesToGraph option is used to specify which tags should be logged as a data series on the
graph.
- getTagNamesToGraph() - Method in class net.jperf.logback.GraphingStatisticsAppender
-
The TagNamesToGraph option is used to specify which tags should be logged as a data series on the
graph.
- getTimeSlice() - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
The TimeSlice option represents the length of time, in milliseconds, of the window in which appended
log events are coalesced to a single GroupedTimingStatistics and sent to the GroupedTimingStatisticsHandler.
- getTimeSlice() - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
The TimeSlice option represents the length of time, in milliseconds, of the window in which appended
LoggingEvents are coalesced to a single GroupedTimingStatistics and sent to downstream appenders.
- getTimeSlice() - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
The TimeSlice option represents the length of time, in milliseconds, of the window in which appended
LoggingEvents are coalesced to a single GroupedTimingStatistics and sent to downstream appenders.
- getTimeSlice(List<String>) - Static method in class net.jperf.LogParser
-
- getTimeThreshold() - Method in class net.jperf.LoggingStopWatch
-
Gets a threshold level, in milliseconds, below which logging calls will not be made.
- getTimeZone() - Static method in class net.jperf.GroupedTimingStatistics
-
Returns the TimeZone that should be used for display of timestamp values.
- getValueClass() - Method in class net.jperf.helpers.StatsValueRetriever
-
- getValueName() - Method in class net.jperf.helpers.StatsValueRetriever
-
Returns the name of the value, such as "Mean" or "Max".
- getWidth() - Method in class net.jperf.chart.GoogleChartGenerator
-
Gets the width of the chart that will be displayed
- getWindowLength() - Method in class net.jperf.GroupedTimingStatistics
-
The length of time, in milliseconds, of the data window
- getWrappedTask() - Method in class net.jperf.TimedCallable
-
Gets the Callable task that is wrapped by this TimedCallable.
- getWrappedTask() - Method in class net.jperf.TimedRunnable
-
Gets the Runnable task that is wrapped by this TimedRunnable.
- GoogleChartGenerator - Class in net.jperf.chart
-
This implementation of StatisticsChartGenerator creates a chart URL in the format expected by the Google Chart API.
- GoogleChartGenerator() - Constructor for class net.jperf.chart.GoogleChartGenerator
-
Default constructor creates a chart that displays mean execution values and uses the default Google Chart URL.
- GoogleChartGenerator(StatsValueRetriever) - Constructor for class net.jperf.chart.GoogleChartGenerator
-
Creates a chart that uses the specified StatsValueRetriever to determine which values from the
TimingStatistic object to display.
- GoogleChartGenerator(StatsValueRetriever, String) - Constructor for class net.jperf.chart.GoogleChartGenerator
-
Creates a chart that uses the specified StatsValueRetriever to determine which values from the
StatsPerTag object to display, and also allows the base chart URL to be overridden from the Google default.
- GraphingServlet - Class in net.jperf.log4j.servlet
-
This graphing servlet implementation looks for graphs from
GraphingStatisticsAppender
s that
have been created by the log4j framework.
- GraphingServlet() - Constructor for class net.jperf.log4j.servlet.GraphingServlet
-
- GraphingServlet - Class in net.jperf.logback.servlet
-
This graphing servlet implementation looks for graphs from
GraphingStatisticsAppender
s that
have been created by the logback framework.
- GraphingServlet() - Constructor for class net.jperf.logback.servlet.GraphingServlet
-
- GraphingStatisticsAppender - Class in net.jperf.log4j
-
- GraphingStatisticsAppender() - Constructor for class net.jperf.log4j.GraphingStatisticsAppender
-
- GraphingStatisticsAppender - Class in net.jperf.logback
-
- GraphingStatisticsAppender() - Constructor for class net.jperf.logback.GraphingStatisticsAppender
-
- GraphingStatisticsHandler - Class in net.jperf.javalog
-
TODO - not yet implemented
- GraphingStatisticsHandler() - Constructor for class net.jperf.javalog.GraphingStatisticsHandler
-
- graphNames - Variable in class net.jperf.servlet.AbstractGraphingServlet
-
Setting an init parameter "graphNames" to a comma-separated list of the names of graphs to display by default
sets this member variable.
- GroupedTimingStatistics - Class in net.jperf
-
Represents a set of TimingStatistics calculated for a specific time period for a set of tags.
- GroupedTimingStatistics() - Constructor for class net.jperf.GroupedTimingStatistics
-
Default constructor allows you to set statistics later using the addStopWatch and setter methods.
- GroupedTimingStatistics(SortedMap<String, TimingStatistics>, long, long, boolean) - Constructor for class net.jperf.GroupedTimingStatistics
-
Creates a GroupedTimingStatistics instance for a set of tags for a specified time span.
- GroupedTimingStatisticsCsvFormatter - Class in net.jperf.helpers
-
- GroupedTimingStatisticsCsvFormatter() - Constructor for class net.jperf.helpers.GroupedTimingStatisticsCsvFormatter
-
Creates a non-pivoted CSV formatter using the default format string.
- GroupedTimingStatisticsCsvFormatter(boolean, String) - Constructor for class net.jperf.helpers.GroupedTimingStatisticsCsvFormatter
-
Creates a CSV formatter which allows you to config which values are output.
- GroupedTimingStatisticsCsvFormatter.GroupedTimingStatisticsValueRetriever - Interface in net.jperf.helpers
-
- GroupedTimingStatisticsCsvFormatter.TimingStatsValueRetriever - Interface in net.jperf.helpers
-
- GroupedTimingStatisticsFormatter - Interface in net.jperf.helpers
-
- GroupedTimingStatisticsJsonFormatter - Class in net.jperf.helpers
-
- GroupedTimingStatisticsJsonFormatter() - Constructor for class net.jperf.helpers.GroupedTimingStatisticsJsonFormatter
-
Construct JsonFormat#LIST
formatter
- GroupedTimingStatisticsJsonFormatter(String) - Constructor for class net.jperf.helpers.GroupedTimingStatisticsJsonFormatter
-
Construct JSON formatter
- GroupedTimingStatisticsTextFormatter - Class in net.jperf.helpers
-
GroupedTimingStatisticsFormatter that simply returns the toString() value of the GroupedTimingStatistics instance,
with a newline appended.
- GroupedTimingStatisticsTextFormatter() - Constructor for class net.jperf.helpers.GroupedTimingStatisticsTextFormatter
-
- GroupingStatisticsIterator - Class in net.jperf.helpers
-
- GroupingStatisticsIterator(Iterator<StopWatch>) - Constructor for class net.jperf.helpers.GroupingStatisticsIterator
-
Creates a GroupingStatisticsIterator that groups StopWatch instances pulled from the specified
stopWatchIterator into GroupedTimingStatistics.
- GroupingStatisticsIterator(Iterator<StopWatch>, long, boolean) - Constructor for class net.jperf.helpers.GroupingStatisticsIterator
-
Creates a GroupingStatisticsIterator that groups StopWatch instances pulled from the specified
stopWatchIterator into GroupedTimingStatistics.
- JavaLogStopWatch - Class in net.jperf.javalog
-
This LoggingStopWatch uses a java.util.logging Logger to persist the StopWatch messages.
- JavaLogStopWatch() - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with a blank tag, no message and started at the instant of creation.
- JavaLogStopWatch(Logger) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the INFO level, or at the WARNING
level if an exception is passed to one of the stop or lap methods.
- JavaLogStopWatch(Logger, Level) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the WARNING
level if an exception is passed to one of the stop or lap methods.
- JavaLogStopWatch(Logger, Level, Level) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- JavaLogStopWatch(String) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with the tag specified, no message and started at the instant of creation.
- JavaLogStopWatch(String, Logger) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with the tag specified, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at INFO level, or at the WARNING level if an exception is passed to
one of the stop or lap methods.
- JavaLogStopWatch(String, Logger, Level) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with the tag specified, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the WARNING
level if an exception is passed to one of the stop or lap methods.
- JavaLogStopWatch(String, Logger, Level, Level) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with the tag specified, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- JavaLogStopWatch(String, String) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with the tag and message specified and started at the instant of creation.
- JavaLogStopWatch(String, String, Logger) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with the tag and message specified and started at the instant of creation, using the
specified Logger to log stop watch messages at INFO level, or at WARNING level if an exception is passed to one
of the stop or lap methods.
- JavaLogStopWatch(String, String, Logger, Level) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with the tag and message specified and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at WARNING
level if an exception is passed to one of the stop or lap methods.
- JavaLogStopWatch(String, String, Logger, Level, Level) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
Creates a JavaLogStopWatch with the tag and message specified and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- JavaLogStopWatch(long, long, String, String, Logger, Level, Level) - Constructor for class net.jperf.javalog.JavaLogStopWatch
-
This constructor is mainly used for creation of StopWatch instances from logs and for testing.
- JmxAttributeStatisticsAppender - Class in net.jperf.log4j
-
- JmxAttributeStatisticsAppender() - Constructor for class net.jperf.log4j.JmxAttributeStatisticsAppender
-
- JmxAttributeStatisticsAppender - Class in net.jperf.logback
-
- JmxAttributeStatisticsAppender() - Constructor for class net.jperf.logback.JmxAttributeStatisticsAppender
-
- JmxAttributeStatisticsHandler - Class in net.jperf.javalog
-
TODO - not yet implemented
- JmxAttributeStatisticsHandler() - Constructor for class net.jperf.javalog.JmxAttributeStatisticsHandler
-
- JperfProperties - Class in net.jperf.helpers
-
- lap(String, Throwable) - Method in class net.jperf.LoggingStopWatch
-
- lap(String, String, Throwable) - Method in class net.jperf.LoggingStopWatch
-
- lap(String) - Method in class net.jperf.StopWatch
-
The lap method is useful when using a single StopWatch to time multiple consecutive blocks.
- lap(String, String) - Method in class net.jperf.StopWatch
-
The lap method is useful when using a single StopWatch to time multiple consecutive blocks.
- level() - Method in class net.jperf.aop.DefaultProfiled
-
- log(String, Throwable) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
The log message is overridden to use the Apache Commons Logging Log to persist the stop watch.
- log(String, Throwable, int) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
Since Commons Logging doesn't have a first class notion of Level objects or integer values, this method
maps the atLevel parameter to one of the trace(), debug(), info(), warn(),
error(), or fatal() methods on the Log.
- log(String, Throwable) - Method in class net.jperf.javalog.JavaLogStopWatch
-
The log message is overridden to use the java.util.logging Logger to persist the stop watch.
- log(String, Throwable) - Method in class net.jperf.log4j.Log4JStopWatch
-
The log message is overridden to use the log4j Logger to persist the stop watch.
- log(String, Throwable) - Method in class net.jperf.LoggingStopWatch
-
This log method can be overridden by subclasses in order to persist the StopWatch, for example by using a
log4j Logger.
- log(String, Throwable) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
The log message is overridden to use the Apache Commons Logging Logger to persist the stop watch.
- log(String, Throwable, int) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
Since Commons Logging doesn't have a first class notion of Level objects or integer values, this method
maps the atLevel parameter to one of the trace(), debug(), info(), warn(),
error(), or fatal() methods on the Log.
- Log4JStopWatch - Class in net.jperf.log4j
-
This LoggingStopWatch uses a log4j Logger to persist the StopWatch messages.
- Log4JStopWatch() - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with a blank tag, no message and started at the instant of creation.
- Log4JStopWatch(Logger) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the INFO level, or at the WARN
level if an exception is passed to one of the stop or lap methods.
- Log4JStopWatch(Logger, Level) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the WARN
level if an exception is passed to one of the stop or lap methods.
- Log4JStopWatch(Logger, Level, Level) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- Log4JStopWatch(String) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with the tag specified, no message and started at the instant of creation.
- Log4JStopWatch(String, Logger) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with the tag specified, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at INFO level, or at the WARN level if an exception is passed to
one of the stop or lap methods.
- Log4JStopWatch(String, Logger, Level) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with the tag specified, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the WARN
level if an exception is passed to one of the stop or lap methods.
- Log4JStopWatch(String, Logger, Level, Level) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with the tag specified, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- Log4JStopWatch(String, String) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with the tag and message specified and started at the instant of creation.
- Log4JStopWatch(String, String, Logger) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with the tag and message specified and started at the instant of creation, using the
specified Logger to log stop watch messages at INFO level, or at WARN level if an exception is passed to one
of the stop or lap methods.
- Log4JStopWatch(String, String, Logger, Level) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with the tag and message specified and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at WARN
level if an exception is passed to one of the stop or lap methods.
- Log4JStopWatch(String, String, Logger, Level, Level) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
Creates a Log4JStopWatch with the tag and message specified and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- Log4JStopWatch(long, long, String, String, Logger, Level, Level) - Constructor for class net.jperf.log4j.Log4JStopWatch
-
This constructor is mainly used for creation of StopWatch instances from logs and for testing.
- logFailuresSeparately() - Method in class net.jperf.aop.DefaultProfiled
-
- logger() - Method in class net.jperf.aop.DefaultProfiled
-
- LoggingStopWatch - Class in net.jperf
-
A LoggingStopWatch prevents the need to explicitly send the StopWatch string to a Logger when stopping.
- LoggingStopWatch() - Constructor for class net.jperf.LoggingStopWatch
-
Creates a LoggingStopWatch with a blank tag, no message and started at the instant of creation.
- LoggingStopWatch(String) - Constructor for class net.jperf.LoggingStopWatch
-
Creates a LoggingStopWatch with the specified tag, no message and started at the instant of creation.
- LoggingStopWatch(String, String) - Constructor for class net.jperf.LoggingStopWatch
-
Creates a LoggingStopWatch with the specified tag and message, started an the instant of creation.
- LoggingStopWatch(long, long, String, String) - Constructor for class net.jperf.LoggingStopWatch
-
Creates a LoggingStopWatch with a specified start and elapsed time, tag, and message.
- LogParser - Class in net.jperf
-
LogParser provides the main method for reading a log of StopWatch output and generating statistics and graphs
from that output.
- LogParser() - Constructor for class net.jperf.LogParser
-
Default constructor reads input from standard in, writes statistics output to standard out, does not write
graph output, has a time slice window of 30 seconds, and does not create rollup statistics.
- LogParser(Reader, PrintStream, PrintStream, long, boolean, StatisticsFormatter) - Constructor for class net.jperf.LogParser
-
Creates a new LogParser to parse log data from the input.
- scope() - Method in class net.jperf.aop.ScopedTimingAspect
-
- ScopedTimingAspect - Class in net.jperf.aop
-
- ScopedTimingAspect() - Constructor for class net.jperf.aop.ScopedTimingAspect
-
- ScopedTimingAspect - Class in net.jperf.commonslog.aop
-
- ScopedTimingAspect() - Constructor for class net.jperf.commonslog.aop.ScopedTimingAspect
-
- ScopedTimingAspect - Class in net.jperf.javalog.aop
-
- ScopedTimingAspect() - Constructor for class net.jperf.javalog.aop.ScopedTimingAspect
-
- ScopedTimingAspect - Class in net.jperf.log4j.aop
-
- ScopedTimingAspect() - Constructor for class net.jperf.log4j.aop.ScopedTimingAspect
-
- ScopedTimingAspect - Class in net.jperf.slf4j.aop
-
- ScopedTimingAspect() - Constructor for class net.jperf.slf4j.aop.ScopedTimingAspect
-
- sendNotificationsIfValuesNotAcceptable() - Method in class net.jperf.helpers.StatisticsExposingMBean
-
This helper method sends notifications if any of the acceptable ranges detects an attribute value that is
outside of the specified range.
- sendOutOfRangeNotification(double, AcceptableRangeConfiguration) - Method in class net.jperf.helpers.StatisticsExposingMBean
-
Helper method is used to send the JMX notification because the attribute value doesn't fall within the
acceptable range.
- setAppender(AsyncCoalescingStatisticsAppender) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender.ShutdownHook
-
- setAttribute(Attribute) - Method in class net.jperf.helpers.StatisticsExposingMBean
-
- setAttributeName(String) - Method in class net.jperf.helpers.AcceptableRangeConfiguration
-
- setAttributes(AttributeList) - Method in class net.jperf.helpers.StatisticsExposingMBean
-
- setCollision(String) - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
the way to resolve mbean collision.
- setCollision(String) - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
the way to resolve mbean collision.
- setColumns(String) - Method in class net.jperf.log4j.StatisticsCsvLayout
-
Sets the value of the Columns option.
- setColumns(String) - Method in class net.jperf.logback.StatisticsCsvLayout
-
Sets the value of the Columns option.
- setCreateRollupStatistics(boolean) - Method in class net.jperf.GroupedTimingStatistics
-
- setCreateRollupStatistics(boolean) - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
Sets the value of the CreateRollupStatistics option.
- setCreateRollupStatistics(boolean) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
Sets the value of the CreateRollupStatistics option.
- setCreateRollupStatistics(boolean) - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
Sets the value of the CreateRollupStatistics option.
- setDataPointsPerGraph(int) - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
Sets the value of the DataPointsPerGraph option.
- setDataPointsPerGraph(int) - Method in class net.jperf.logback.GraphingStatisticsAppender
-
Sets the value of the DataPointsPerGraph option.
- setDownstreamLogLevel(String) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
Sets the value of the DownstreamLogLevel option.
- setDownstreamLogLevel(String) - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
Sets the value of the DownstreamLogLevel option.
- setEnabledTags(Set<String>) - Method in class net.jperf.chart.GoogleChartGenerator
-
Sets the set of tag names for which values will be displayed on the chart.
- setExceptionPriority(int) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
Sets the level at which log statements will be made when one of the stop or lap methods that DOES take an
exception is called.
- setExceptionPriority(Level) - Method in class net.jperf.javalog.JavaLogStopWatch
-
Sets the Level at which log statements will be made when one of the stop or lap methods that DOES take an
exception is called.
- setExceptionPriority(Level) - Method in class net.jperf.log4j.Log4JStopWatch
-
Sets the Level at which log statements will be made when one of the stop or lap methods that DOES take an
exception is called.
- setExceptionPriority(int) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
Sets the level at which log statements will be made when one of the stop or lap methods that DOES take an
exception is called.
- setGraphType(String) - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
Sets the value of the GraphType option.
- setGraphType(String) - Method in class net.jperf.logback.GraphingStatisticsAppender
-
Sets the value of the GraphType option.
- setHeight(int) - Method in class net.jperf.chart.GoogleChartGenerator
-
Sets the height of the chart in pixels.
- setLogger(Log) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
Sets the Apache Commons Logging Logused to persist StopWatch instances.
- setLogger(Logger) - Method in class net.jperf.javalog.JavaLogStopWatch
-
Sets the java.util.logging Logger used to persist StopWatch instances.
- setLogger(Logger) - Method in class net.jperf.log4j.Log4JStopWatch
-
Sets the log4j Logger used to persist StopWatch instances.
- setLogger(Logger) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
Sets the Apache Commons Logging Logused to persist StopWatch instances.
- setMaxDataPoints(int) - Method in class net.jperf.chart.GoogleChartGenerator
-
Sets the maximum number of data points to display on a chart.
- setMaxValue(double) - Method in class net.jperf.helpers.AcceptableRangeConfiguration
-
- setMBeanName(String) - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
Sets the value of the MBeanName option.
- setMBeanName(String) - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
Sets the value of the MBeanName option.
- setMessage(String) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
- setMessage(String) - Method in class net.jperf.javalog.JavaLogStopWatch
-
- setMessage(String) - Method in class net.jperf.log4j.Log4JStopWatch
-
- setMessage(String) - Method in class net.jperf.LoggingStopWatch
-
- setMessage(String) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
- setMessage(String) - Method in class net.jperf.StopWatch
-
Sends a message on this StopWatch instance to be printed when this instance is logged.
- setMinValue(double) - Method in class net.jperf.helpers.AcceptableRangeConfiguration
-
- setName(String) - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
Sets the name of this appender.
- setName(String) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
- setName(String) - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
- setNormalAndSlowSuffixesEnabled(boolean) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
- setNormalAndSlowSuffixesEnabled(boolean) - Method in class net.jperf.javalog.JavaLogStopWatch
-
- setNormalAndSlowSuffixesEnabled(boolean) - Method in class net.jperf.log4j.Log4JStopWatch
-
- setNormalAndSlowSuffixesEnabled(boolean) - Method in class net.jperf.LoggingStopWatch
-
Sets whether to append normalSuffix and slowSuffix when timeThreshold > 0 AND elapsedTime >= timeThreshold
- setNormalAndSlowSuffixesEnabled(boolean) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
- setNormalPriority(int) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
Sets the level at which log statements will be made when one of the stop or lap methods that does NOT take an
exception is called.
- setNormalPriority(Level) - Method in class net.jperf.javalog.JavaLogStopWatch
-
Sets the Level at which log statements will be made when one of the stop or lap methods that does NOT take an
exception is called.
- setNormalPriority(Level) - Method in class net.jperf.log4j.Log4JStopWatch
-
Sets the Level at which log statements will be made when one of the stop or lap methods that does NOT take an
exception is called.
- setNormalPriority(int) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
Sets the level at which log statements will be made when one of the stop or lap methods that does NOT take an
exception is called.
- setNormalSuffix(String) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
- setNormalSuffix(String) - Method in class net.jperf.javalog.JavaLogStopWatch
-
- setNormalSuffix(String) - Method in class net.jperf.log4j.Log4JStopWatch
-
- setNormalSuffix(String) - Method in class net.jperf.LoggingStopWatch
-
Sets the suffix to use when normalAndSlowSuffixesEnabled=true and timeThreshold > 0 and elapsedTime < timeThreshold.
- setNormalSuffix(String) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
- setNotificationThresholds(String) - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
Sets the value of the NotificationThresholds option.
- setNotificationThresholds(String) - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
Sets the value of the NotificationThresholds option.
- setPivot(boolean) - Method in class net.jperf.log4j.StatisticsCsvLayout
-
Sets the value of the Pivot option.
- setPivot(boolean) - Method in class net.jperf.logback.StatisticsCsvLayout
-
Sets the value of the Pivot option.
- setPrintNonStatistics(boolean) - Method in class net.jperf.log4j.StatisticsCsvLayout
-
Sets the value of the PrintNonStatistics option.
- setPrintNonStatistics(boolean) - Method in class net.jperf.logback.StatisticsCsvLayout
-
Sets the value of the PrintNonStatistics option.
- setQueueSize(int) - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
Sets the value of the QueueSize option.
- setQueueSize(int) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
Sets the value of the QueueSize option.
- setQueueSize(int) - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
Sets the value of the QueueSize option.
- setShutdownWaitMillis(long) - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
Sets the value of the ShutdownWaitMillis option.
- setShutdownWaitMillis(long) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
Sets the value of the ShutdownWaitMillis option.
- setShutdownWaitMillis(long) - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
Sets the value of the ShutdownWaitMillis option.
- setSlowSuffix(String) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
- setSlowSuffix(String) - Method in class net.jperf.javalog.JavaLogStopWatch
-
- setSlowSuffix(String) - Method in class net.jperf.log4j.Log4JStopWatch
-
- setSlowSuffix(String) - Method in class net.jperf.LoggingStopWatch
-
Sets the suffix to use when normalAndSlowSuffixesEnabled=true and timeThreshold > 0 and elapsedTime >= timeThreshold.
- setSlowSuffix(String) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
- setStartTime(long) - Method in class net.jperf.GroupedTimingStatistics
-
- setStatisticsByTag(SortedMap<String, TimingStatistics>) - Method in class net.jperf.GroupedTimingStatistics
-
- setStopTime(long) - Method in class net.jperf.GroupedTimingStatistics
-
- setStopWatchParserClassName(String) - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
Sets the value of the StopWatchParserClassName option.
- setStopWatchParserClassName(String) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
Sets the value of the StopWatchParserClassName option.
- setStopWatchParserClassName(String) - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
Sets the value of the StopWatchParserClassName option.
- setTag(String) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
- setTag(String) - Method in class net.jperf.javalog.JavaLogStopWatch
-
- setTag(String) - Method in class net.jperf.log4j.Log4JStopWatch
-
- setTag(String) - Method in class net.jperf.LoggingStopWatch
-
- setTag(String) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
- setTag(String) - Method in class net.jperf.StopWatch
-
Sets the grouping tag for this StopWatch instance.
- setTagNamesToExpose(String) - Method in class net.jperf.log4j.JmxAttributeStatisticsAppender
-
Sets the value of the TagNamesToExpose option.
- setTagNamesToExpose(String) - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
Sets the value of the TagNamesToExpose option.
- setTagNamesToGraph(String) - Method in class net.jperf.log4j.GraphingStatisticsAppender
-
Sets the value of the TagNamesToGraph option.
- setTagNamesToGraph(String) - Method in class net.jperf.logback.GraphingStatisticsAppender
-
Sets the value of the TagNamesToGraph option.
- setTimeSlice(long) - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
Sets the value of the TimeSlice option.
- setTimeSlice(long) - Method in class net.jperf.log4j.AsyncCoalescingStatisticsAppender
-
Sets the value of the TimeSlice option.
- setTimeSlice(long) - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
Sets the value of the TimeSlice option.
- setTimeThreshold(long) - Method in class net.jperf.commonslog.CommonsLogStopWatch
-
- setTimeThreshold(long) - Method in class net.jperf.javalog.JavaLogStopWatch
-
- setTimeThreshold(long) - Method in class net.jperf.log4j.Log4JStopWatch
-
- setTimeThreshold(long) - Method in class net.jperf.LoggingStopWatch
-
Sets a threshold level, in milliseconds, below which logging calls will not be made.
- setTimeThreshold(long) - Method in class net.jperf.slf4j.Slf4JStopWatch
-
- setTimeZone(TimeZone) - Static method in class net.jperf.GroupedTimingStatistics
-
Sets the TimeZone which should be used to present this data.
- setWidth(int) - Method in class net.jperf.chart.GoogleChartGenerator
-
Sets the width of the chart in pixels.
- ShutdownHook(AsyncCoalescingStatisticsAppender) - Constructor for class net.jperf.log4j.AsyncCoalescingStatisticsAppender.ShutdownHook
-
- Slf4JStopWatch - Class in net.jperf.slf4j
-
This LoggingStopWatch uses an SLF4J Logger instance to persist the StopWatch messages.
- Slf4JStopWatch() - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with a blank tag, no message and started at the instant of creation.
- Slf4JStopWatch(Logger) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages using the info() method, or using the warn() method if an exception
is passed to one of the stop or lap methods.
- Slf4JStopWatch(Logger, int) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or using the warn()
method if an exception is passed to one of the stop or lap methods.
- Slf4JStopWatch(Logger, int, int) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with a blank tag, no message and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- Slf4JStopWatch(String) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with the tag specified, no message and started at the instant of creation.
- Slf4JStopWatch(String, Logger) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with the tag specified, no message and started at the instant of creation, using
the specified Logger to log stop watch using the info() method, or using the warn() method if an exception is
passed to one of the stop or lap methods.
- Slf4JStopWatch(String, Logger, int) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with the tag specified, no message and started at the instant of creation, using
the specified Logger to log stop watch messages at the normalPriority level specified, or using the warn()
level if an exception is passed to one of the stop or lap methods.
- Slf4JStopWatch(String, Logger, int, int) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with the tag specified, no message and started at the instant of creation, using
the specified Logger to log stop watch messages at the normalPriority level specified, or at the
exceptionPriority level if an exception is passed to one of the stop or lap methods.
- Slf4JStopWatch(String, String) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with the tag and message specified and started at the instant of creation.
- Slf4JStopWatch(String, String, Logger) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with the tag and message specified and started at the instant of creation, using
the specified Logger to log stop watch messages using the info() method, or using the warn() method if an
exception is passed to one of the stop or lap methods.
- Slf4JStopWatch(String, String, Logger, int) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with the tag and message specified and started at the instant of creation, using
the specified Logger to log stop watch messages at the normalPriority level specified, or using the warn() method
if an exception is passed to one of the stop or lap methods.
- Slf4JStopWatch(String, String, Logger, int, int) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
Creates a Slf4JStopWatch with the tag and message specified and started at the instant of creation, using the
specified Logger to log stop watch messages at the normalPriority level specified, or at the exceptionPriority
level if an exception is passed to one of the stop or lap methods.
- Slf4JStopWatch(long, long, String, String, Logger, int, int) - Constructor for class net.jperf.slf4j.Slf4JStopWatch
-
This constructor is mainly used for creation of StopWatch instances from logs and for testing.
- splitAndTrim(String, String) - Static method in class net.jperf.helpers.MiscUtils
-
Splits a string using the specified delimiter, and also trims all the resultant strings in the returned array.
- start(GenericAsyncCoalescingStatisticsAppender.GroupedTimingStatisticsHandler) - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
The start method should only be called once, before the append method is called, to initialize options.
- start() - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
- start() - Method in class net.jperf.logback.GraphingStatisticsAppender
-
- start() - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
- start() - Method in class net.jperf.logback.StatisticsCsvLayout
-
- start() - Method in class net.jperf.StopWatch
-
Starts this StopWatch, which sets its startTime property to the current time and resets the elapsedTime property.
- start(String) - Method in class net.jperf.StopWatch
-
Starts this StopWatch and sets its tag to the specified value.
- start(String, String) - Method in class net.jperf.StopWatch
-
Starts this StopWatch and sets its tag and message to the specified values.
- StatisticsChartGenerator - Interface in net.jperf.chart
-
Generates a chart based on data from a set of GroupedTimingStatistics.
- StatisticsCsvLayout - Class in net.jperf.log4j
-
- StatisticsCsvLayout() - Constructor for class net.jperf.log4j.StatisticsCsvLayout
-
- StatisticsCsvLayout - Class in net.jperf.logback
-
- StatisticsCsvLayout() - Constructor for class net.jperf.logback.StatisticsCsvLayout
-
- StatisticsExposingMBean - Class in net.jperf.helpers
-
This class provides a wrapper around GroupedTimingStatistics data so that this performance information can be
exposed through JMX.
- StatisticsExposingMBean(String, Collection<String>, Collection<AcceptableRangeConfiguration>) - Constructor for class net.jperf.helpers.StatisticsExposingMBean
-
Creates a new StatisticsExposingMBean whose management interface exposes performance attributes for the tags
specified, and that sends notifications if attributes are outside of the acceptable ranges.
- StatisticsFormatter - Interface in net.jperf.helpers
-
Statistics output formatter
- StatsValueRetriever - Class in net.jperf.helpers
-
The StatsValueRetriever is used to enable retrieval of any of the statistics on the TimingStatistics object
by name.
- StatsValueRetriever() - Constructor for class net.jperf.helpers.StatsValueRetriever
-
- STD_DEV_VALUE_RETRIEVER - Static variable in class net.jperf.helpers.StatsValueRetriever
-
- stop() - Method in class net.jperf.helpers.GenericAsyncCoalescingStatisticsAppender
-
This method should be called on shutdown to flush any pending messages in the queue and create a final
GroupedTimingStatistics instance if necessary.
- stop() - Method in class net.jperf.logback.AsyncCoalescingStatisticsAppender
-
- stop() - Method in class net.jperf.logback.GraphingStatisticsAppender
-
- stop() - Method in class net.jperf.logback.JmxAttributeStatisticsAppender
-
- stop() - Method in class net.jperf.LoggingStopWatch
-
This stop method is overridden to perform the logging itself instead of needing to make a separate call to
persist the timing information.
- stop(Throwable) - Method in class net.jperf.LoggingStopWatch
-
In cases where a code block terminated by throwing an exception, you may wish to have the exception logged in
addition to the time it took to execute the block, in which case this method will write out the exception's
stack trace in addition to the StopWatch timing method.
- stop(String, Throwable) - Method in class net.jperf.LoggingStopWatch
-
- stop(String, String, Throwable) - Method in class net.jperf.LoggingStopWatch
-
- stop() - Method in class net.jperf.StopWatch
-
Stops this StopWatch, which "freezes" its elapsed time.
- stop(String) - Method in class net.jperf.StopWatch
-
Stops this StopWatch and sets its grouping tag.
- stop(String, String) - Method in class net.jperf.StopWatch
-
Stops this StopWatch and sets its grouping tag and message.
- StopWatch - Class in net.jperf
-
The StopWatch class is used to time code blocks in Perf4J.
- StopWatch() - Constructor for class net.jperf.StopWatch
-
Creates a StopWatch with a blank tag, no message and started at the instant of creation.
- StopWatch(String) - Constructor for class net.jperf.StopWatch
-
Creates a StopWatch with the specified tag, no message and started at the instant of creation.
- StopWatch(String, String) - Constructor for class net.jperf.StopWatch
-
Creates a StopWatch with the specified tag and message, started an the instant of creation.
- StopWatch(long, long, String, String) - Constructor for class net.jperf.StopWatch
-
Creates a StopWatch with a specified start and elapsed time, tag, and message.
- StopWatchLogIterator - Class in net.jperf.helpers
-
The StopWatchLogIterator class takes input from a Reader and parses it so that deserialized StopWatch instances can
be returned with each call to next().
- StopWatchLogIterator(Readable) - Constructor for class net.jperf.helpers.StopWatchLogIterator
-
Creates a new StopWatchLogIterator to parse input from the specified Readable instance.
- StopWatchParser - Class in net.jperf.helpers
-
This helper class is used to parse StopWatches from log message.
- StopWatchParser() - Constructor for class net.jperf.helpers.StopWatchParser
-
Creates a StopWatchParser that uses the DEFAULT_MATCH_PATTERN to parse StopWatch message strings.
- StopWatchParser(String) - Constructor for class net.jperf.helpers.StopWatchParser
-
Creates a StopWatchParser that uses the specified regex pattern string to parse StopWatch message strings.