A B C D F G H I J M N O P R S T U W

A

addSplit(Split) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 
addStopwatchInfo(StringBuilder, DefaultRequestReporter.StopwatchInfo) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
 
addStopwatchSplitDistribution(StringBuilder, Map<String, DefaultRequestReporter.StopwatchInfo>) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
 

B

buildSplitDetails(Split, List<Split>, StringBuilder) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
 

C

compareTo(DefaultRequestReporter.StopwatchInfo) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 
consolePage(HttpServletRequest, HttpServletResponse, String) - Method in class org.javasimon.javaee.SimonServletFilter
 
consolePath - Variable in class org.javasimon.javaee.SimonServletFilter
URL path that displays Simon web console (or null if no console is required).
createMonitorForSourceSpecifiedClass(String, Manager) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
 
createMonitorSource(String, Manager) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
 
createUnallowedCharsReplacer(String) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
Creates new replacer for unallowed characters in the URL.

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
 
DefaultRequestReporter.StopwatchInfo(Stopwatch) - Constructor for class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 
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.
doFilterWithMonitoring(FilterChain, HttpServletRequest, HttpServletResponse) - Method in class org.javasimon.javaee.SimonServletFilter
 

F

FINAL_SLASH_REMOVE - Static variable in class org.javasimon.javaee.SimonServletFilter
 

G

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
 

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.
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.
injectSimonPrefixIntoMonitorSource(FilterConfig, MonitorSource<HttpServletRequest, Stopwatch>) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
 
isJdbcResultSetNextSimon(DefaultRequestReporter.StopwatchInfo) - Method in class org.javasimon.javaee.reqreporter.StandardRequestReporter
 
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.

J

jsessionParameterReplacer - Variable in class org.javasimon.javaee.HttpStopwatchSource
 

M

manager - Variable in class org.javasimon.javaee.SimonServletFilter
Simon Manager used by the filter.
maxSplit - Variable in class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 
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.
monitorSourceNewInstance(Manager, Class<?>) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
 

N

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

O

onStopwatchStart(Split) - Method in class org.javasimon.javaee.SimonServletFilter.SplitSaverCallback
 
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

pickUpSharedManagerIfExists(FilterConfig) - Method in class org.javasimon.javaee.SimonServletFilter
 
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.HttpStopwatchSource
Simon prefix, can be set to null.
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.
printSimonTree(ServletResponse) - Method in class org.javasimon.javaee.SimonServletFilter
 
printTreePath - Variable in class org.javasimon.javaee.SimonServletFilter
URL path that displays Simon tree - it is console-path without the ending slash.
processSplitsAndAddSignificantOnes(Split, List<Split>, StringBuilder, Map<String, DefaultRequestReporter.StopwatchInfo>) - Method in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
 

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 .
requestReporter - Variable in class org.javasimon.javaee.SimonServletFilter
Object responsible for reporting the request over threshold (if SimonServletFilter.shouldBeReported(javax.servlet.http.HttpServletRequest, long, java.util.List) returns true).
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

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.
simonHelp(ServletResponse) - Method in class org.javasimon.javaee.SimonServletFilter
 
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 - Variable in class org.javasimon.javaee.reqreporter.DefaultRequestReporter
 
simonServletFilter - Variable in class org.javasimon.javaee.reqreporter.PlainRequestReporter
 
SimonServletFilter - Class in org.javasimon.javaee
Simon Servlet filter measuring HTTP request execution times.
SimonServletFilter() - Constructor for class org.javasimon.javaee.SimonServletFilter
 
SimonServletFilter.SplitSaverCallback - Class in org.javasimon.javaee
 
SimonServletFilter.SplitSaverCallback() - Constructor for class org.javasimon.javaee.SimonServletFilter.SplitSaverCallback
 
SimonServletFilterUtils - Class in org.javasimon.javaee
Various supporting utility methods for SimonServletFilter.
SimonServletFilterUtils() - Constructor for class org.javasimon.javaee.SimonServletFilterUtils
 
SLASH_TRIM - Static variable in class org.javasimon.javaee.SimonServletFilter
 
splits - Variable in class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 
splitSaverCallback - Variable in class org.javasimon.javaee.SimonServletFilter
Callback that saves all splits in SimonServletFilter.splitsThreadLocal if SimonServletFilter.reportThresholdNanos is configured.
splitsThreadLocal - Variable in class org.javasimon.javaee.SimonServletFilter
Thread local list of splits used to cumulate all splits for the request.
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
 
stopSplitForRequest(HttpServletRequest, Split) - Method in class org.javasimon.javaee.SimonServletFilter
 
stopwatch - Variable in class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 
stopwatchSource - Variable in class org.javasimon.javaee.SimonServletFilter
Stopwatch source is used before/after each request to start/stop a stopwatch.

T

TO_DOT_PATTERN - Static variable in class org.javasimon.javaee.SimonServletFilterUtils
Regex replacer for any number of slashes or dots for a single dot.
total - Variable in class org.javasimon.javaee.reqreporter.DefaultRequestReporter.StopwatchInfo
 
trailingStuffReplacer - Variable in class org.javasimon.javaee.HttpStopwatchSource
 

U

unallowedCharacterReplacer - Variable in class org.javasimon.javaee.HttpStopwatchSource
 

W

wrapMonitorSourceWithCacheIfNeeded(StopwatchSource<HttpServletRequest>, String) - Static method in class org.javasimon.javaee.SimonServletFilterUtils
 

A B C D F G H I J M N O P R S T U W

Copyright © 2013. All Rights Reserved.