Java Simon 3.5.0
A C D G H I M N O P R S V

A

addSplit(Split) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 

C

compareTo(DefaultRequestReporter.StopwatchInfo) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 
consolePath - Variable in class org.javasimon.javaee.SimonServletFilter
URL path that displays Simon web console (or null if no console is required).

D

DEFAULT_INTERCEPTOR_PREFIX - Static variable in class org.javasimon.javaee.SimonInterceptor
Default prefix for interceptor Simons if no "prefix" init parameter is used.
DEFAULT_PREFIX - Static variable in class org.javasimon.javaee.MethodStopwatchSource
Default prefix for Simon names
DEFAULT_SIMON_PREFIX - Static variable in class org.javasimon.javaee.HttpStopwatchSource
Default prefix for web filter Simons if no "prefix" init parameter is used.
DefaultRequestReporter - Class in org.javasimon.javaee.reqreporter
Reports significant splits (longer than 5% of the request) and list of all used stopwatches with their split counts.
DefaultRequestReporter() - Constructor for class org.javasimon.javaee.reqreporter.DefaultRequestReporter
 
DefaultRequestReporter.StopwatchInfo - Class in org.javasimon.javaee.reqreporter
 
destroy() - Method in class org.javasimon.javaee.SimonServletFilter
Removes the splitSaverCallback if initialized.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.javasimon.javaee.SimonServletFilter
Wraps the HTTP request with Simon measuring.

G

getIncludeHttpMethodName() - Method in class org.javasimon.javaee.HttpStopwatchSource
Returns current mode of preserving HTTP method names in simons' names
getManager() - Method in class org.javasimon.javaee.SimonServletFilter
 
getMonitor(HttpServletRequest) - Method in class org.javasimon.javaee.HttpStopwatchSource
Get a stopwatch for given HTTP request.
getMonitorName(HttpServletRequest) - Method in class org.javasimon.javaee.HttpStopwatchSource
Returns Simon name for the specified HTTP request with the specified prefix.
getMonitorName(InvocationContext) - Method in class org.javasimon.javaee.MethodStopwatchSource
Returns Simon name for the specified Invocation context.
getPrefix() - Method in class org.javasimon.javaee.HttpStopwatchSource
 
getPrefix() - Method in class org.javasimon.javaee.MethodStopwatchSource
 
getReplaceUnallowed() - Method in class org.javasimon.javaee.HttpStopwatchSource
 
getSimonName(InvocationContext) - Method in class org.javasimon.javaee.SimonInterceptor
Returns Simon name for the specified Invocation context.
getSimonName(String, Replacer) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
Returns Simon name for the specified request (local name without any configured prefix).
getTargetClass(InvocationContext) - Method in class org.javasimon.javaee.MethodStopwatchSource
 
getTargetMethod(InvocationContext) - Method in class org.javasimon.javaee.MethodStopwatchSource
 
getThreshold(HttpServletRequest) - Method in class org.javasimon.javaee.SimonServletFilter
Returns actual threshold in *nanoseconds* (not ms as configured) which allows to further customize threshold per request - intended for override.

H

HttpStopwatchSource - Class in org.javasimon.javaee
Provide stopwatch source for HTTP Servlet request.
HttpStopwatchSource(Manager) - Constructor for class org.javasimon.javaee.HttpStopwatchSource
 
HttpStopwatchSource.IncludeHttpMethodName - Enum in org.javasimon.javaee
Enum that represents modes of preserving HTTP methods names in Simons' names

I

init(FilterConfig) - Method in class org.javasimon.javaee.SimonServletFilter
Initialization method that processes various init parameters from web.xml and sets manager, if SimonUtils.MANAGER_SERVLET_CTX_ATTRIBUTE servlet context attribute is not null.
INIT_PARAM_PREFIX - Static variable in class org.javasimon.javaee.SimonServletFilter
Name of filter init parameter for Simon name prefix.
INIT_PARAM_REPORT_THRESHOLD_MS - Static variable in class org.javasimon.javaee.SimonServletFilter
Name of filter init parameter that sets the value of threshold in milliseconds for maximal request duration beyond which all splits will be dumped to log.
INIT_PARAM_REQUEST_REPORTER_CLASS - Static variable in class org.javasimon.javaee.SimonServletFilter
FQN of the RequestReporter implementation that is used to report requests that SimonServletFilter.shouldBeReported(javax.servlet.http.HttpServletRequest, long, java.util.List).
INIT_PARAM_SIMON_CONSOLE_PATH - Static variable in class org.javasimon.javaee.SimonServletFilter
Name of filter init parameter that sets relative ULR path that will provide Simon console page.
INIT_PARAM_STOPWATCH_SOURCE_CACHE - Static variable in class org.javasimon.javaee.SimonServletFilter
Enable/disable caching on Stopwatch resolution.
INIT_PARAM_STOPWATCH_SOURCE_CLASS - Static variable in class org.javasimon.javaee.SimonServletFilter
FQN of the Stopwatch source class implementing MonitorSource.
INIT_PARAM_STOPWATCH_SOURCE_PROPS - Static variable in class org.javasimon.javaee.SimonServletFilter
Properties for a StopwatchSource class.
initRequestReporter(FilterConfig) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
Returns RequestReporter for the class specified for context parameter SimonServletFilter.INIT_PARAM_REQUEST_REPORTER_CLASS.
initStopwatchSource(FilterConfig, Manager) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
Create and initialize the stopwatch source depending on the filter init parameters.
isMonitored(HttpServletRequest) - Method in class org.javasimon.javaee.HttpStopwatchSource
Indicates whether the HTTP Request should be monitored - method is intended for override.
isMonitored(InvocationContext) - Method in class org.javasimon.javaee.SimonInterceptor
Indicates whether the method invocation should be monitored.
isSignificantSplit(Split, Split) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
Can be overridden to decide whether Split is considered significant to be reported in the first part of the output.

M

MethodStopwatchSource - Class in org.javasimon.javaee
Provide stopwatch source for EJB and CDI invocation context.
MethodStopwatchSource(Manager) - Constructor for class org.javasimon.javaee.MethodStopwatchSource
 
monitor(InvocationContext) - Method in class org.javasimon.javaee.SimonInterceptor
Around invoke method that measures the split for one method invocation.

N

newCacheStopwatchSource(StopwatchSource<HttpServletRequest>) - Static method in class org.javasimon.javaee.HttpStopwatchSource
Wraps given stop watch source in a cache.

O

org.javasimon.javaee - package org.javasimon.javaee
Java EE support for Simons contains Java EE components (servlet filter and EJB/CDI interceptor) that can be used or extended.
org.javasimon.javaee.reqreporter - package org.javasimon.javaee.reqreporter
Package contains classes reporting slow HTTP requests - interface RequestReporter and various (default) implementations.

P

PlainRequestReporter - Class in org.javasimon.javaee.reqreporter
Reports the request with split lenght and list of all splits.
PlainRequestReporter() - Constructor for class org.javasimon.javaee.reqreporter.PlainRequestReporter
 
prefix - Variable in class org.javasimon.javaee.MethodStopwatchSource
Simon name prefix - can be overridden in subclasses.
prefix - Variable in class org.javasimon.javaee.SimonInterceptor
Simon name prefix - can be overridden in subclasses.
printTreePath - Variable in class org.javasimon.javaee.SimonServletFilter
URL path that displays Simon tree - it is console-path without the ending slash.

R

removeJSessionIdFromUri(String) - Method in class org.javasimon.javaee.HttpStopwatchSource
Removes JSESSIONID parameter from URI.
removeTrailingStuff(String) - Method in class org.javasimon.javaee.HttpStopwatchSource
Removes any trailing slashes followed by other characters if none of them is alphabetic.
reportMessage(String) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
Reports the prepared message through the method Manager.message(String) - can be overridden to emit the message to log/console/etc.
reportMessage(String) - Method in class org.javasimon.javaee.reqreporter.PlainRequestReporter
Reports the prepared message through the method Manager.message(String) - can be overridden to emit the message to log/console/etc.
reportMessage(String) - Method in class org.javasimon.javaee.reqreporter.StandardRequestReporter
 
reportRequest(HttpServletRequest, Split, List<Split>) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
 
reportRequest(HttpServletRequest, Split, List<Split>) - Method in class org.javasimon.javaee.reqreporter.PlainRequestReporter
 
reportRequest(HttpServletRequest, Split, List<Split>) - Method in interface org.javasimon.javaee.reqreporter.RequestReporter
Reports request that exceeds the threshold.
reportThresholdNanos - Variable in class org.javasimon.javaee.SimonServletFilter
Threshold in ns - any request longer than this will be reported by current SimonServletFilter.requestReporter instance.
RequestReporter - Interface in org.javasimon.javaee.reqreporter
RequestReporter interface .
requestToStringForMonitorName(HttpServletRequest) - Method in class org.javasimon.javaee.HttpStopwatchSource
Performs the first step in getting the monitor name from the specified HTTP request - here any custom ignore logic should happen.

S

setIncludeHttpMethodName(HttpStopwatchSource.IncludeHttpMethodName) - Method in class org.javasimon.javaee.HttpStopwatchSource
Set current mode of preserving HTTP method names in simons' names
setPrefix(String) - Method in class org.javasimon.javaee.HttpStopwatchSource
 
setPrefix(String) - Method in class org.javasimon.javaee.MethodStopwatchSource
 
setReplaceUnallowed(String) - Method in class org.javasimon.javaee.HttpStopwatchSource
 
setSimonServletFilter(SimonServletFilter) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
 
setSimonServletFilter(SimonServletFilter) - Method in class org.javasimon.javaee.reqreporter.PlainRequestReporter
 
setSimonServletFilter(SimonServletFilter) - Method in interface org.javasimon.javaee.reqreporter.RequestReporter
Called by initialization after the instance creation.
shouldBeAddedSplit(Split) - Method in class org.javasimon.javaee.reqreporter.PlainRequestReporter
Decides whether split should be included in the report - by default all are included.
shouldBeAddedStopwatchInfo(DefaultRequestReporter.StopwatchInfo) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
Decides whether stopwatch info should be included in the report - by default all are included.
shouldBeAddedStopwatchInfo(DefaultRequestReporter.StopwatchInfo) - Method in class org.javasimon.javaee.reqreporter.StandardRequestReporter
 
shouldBeReported(HttpServletRequest, long, List<Split>) - Method in class org.javasimon.javaee.SimonServletFilter
Determines whether the request is over the threshold - with all incoming parameters this method can be very flexible.
SimonInterceptor - Class in org.javasimon.javaee
Simon Interceptor measuring method execution time - can be used in EJB, or CDI in general.
SimonInterceptor() - Constructor for class org.javasimon.javaee.SimonInterceptor
 
SimonServletFilter - Class in org.javasimon.javaee
Simon Servlet filter measuring HTTP request execution times.
SimonServletFilter() - Constructor for class org.javasimon.javaee.SimonServletFilter
 
SimonServletFilterUtils - Class in org.javasimon.javaee
Various supporting utility methods for SimonServletFilter.
SimonServletFilterUtils() - Constructor for class org.javasimon.javaee.SimonServletFilterUtils
 
StandardRequestReporter - Class in org.javasimon.javaee.reqreporter
Reports request to standard output (instead of Manager's message method) and omits less specific Simons from output (for instance JDBC's next).
StandardRequestReporter() - Constructor for class org.javasimon.javaee.reqreporter.StandardRequestReporter
 

V

valueOf(String) - Static method in enum org.javasimon.javaee.HttpStopwatchSource.IncludeHttpMethodName
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.javasimon.javaee.HttpStopwatchSource.IncludeHttpMethodName
Returns an array containing the constants of this enum type, in the order they are declared.

A C D G H I M N O P R S V
Java Simon 3.5.0

Copyright © 2014. All rights reserved.