Pass a String that has an HttpServletRequest/HttpServletResponse method such as response.getStatus() and then this class
will monitor that method call.
Returns the following:
if newObj object is less than existingObj - returns a negative integer,
if the objects are equal - returns zero
if newObj object is greater than existingObj - return positive integer
2 dates are equal if they are both above or below the Calendar field threshold
date1 is greater if it is greater than threshold and date2 isn't
date1 is less than the threshold than it is greater than date2.
When this is called on the proxy object it is the same as calling
proxyObject1.equals(proxyObject2) is the same as calling originalObject1.equals(originalObject2)
Static method that returns the underlying/wrapped/monitored object if the passed object is an interfaced monitored by JAMon else
if not simply return the object unchanged.
Takes a url of the jamon format: jdbc:jamon:sybase:Tds:myserver:1234/mydatabase?jamonrealdriver=com.sybase.jdbc3.jdbc.SybDriver&LITERAL_PARAMS=true&PACKETSIZE=512&HOSTNAME=myhost
and returns: com.sybase.jdbc3.jdbc.SybDriver
Takes a url of the jamon format: jdbc:jamon:sybase:Tds:myserver:1234/mydatabase?jamonrealdriver=com.sybase.jdbc3.jdbc.SybDriver&LITERAL_PARAMS=true&PACKETSIZE=512&HOSTNAME=myhost
and returns the real url associated with the underlying driver: jdbc:sybase:Tds:myserver:1234/mydatabase?LITERAL_PARAMS=true&PACKETSIZE=512&HOSTNAME=myhost
Extract the desired request property, and pass it (along with the
specified request and response objects) to the protected
process() method to perform the actual filtering.
Sort/compare the passed in col number starting at 0 in natural (true) or reverse (false)
order based on the columns Compareable interface being called.
Interface that can be implemented if you want to code something to listen for JAMon events
such as a new max/min/max active have occured, or even if the monitor has fired.
This class can act as a standard JAMonBufferListener/FIFOBuffer or more
interestingly if used with log4j it will put in the Buffer data that although
designed to work as a Buffer that displays details unique to log4j, if the
monitor does not have a Log4jMonKey, it will fallback to Standard
JAMonBufferListener behaviour.
Servlet that enables the ability to take advantage of jamon by passing arbitrary strings to this servlet which
subsequently calls start/stop/add on the MonitorFactory.
Note if a connection object is monitored any Statements, PreparedStatements, CallableStatements, and
optionally ResultSets that it creates will automatically be monitored.
Class that can be used as a composite key for MonitorFactor.add(compositeKey, 100) method calls
Note the passed in LinkedHashMap is used as a key to another Map that looks up the associated monitor.
Used for MonKey to allow jamon to have the generalized form of the key for aggregation, and the
more specific form for writing out details say to a buffer.
Specifies whether or not there will be a JAMon record for each log4j
Level (DEBUG/WARN/...), and another one that corresponds to all calls to
log4j logging methods.
SQLDeArger takes a sql statement and 1) replaces argument values ('souza', "souza", 'souza''s', 100, 100.5, 0xff, 10e9) with question marks
It makes full sql statements look more like a prepared statement.