Pass a String that has an HttpServletRequest/HttpServletResponse method such as response.getStatus() and then this class
will monitor that method call.
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.
Note I took this code from fdsapi.com, and would like to eventually merge these 2 projects, so
this class will eventually be replaced by the one in FDS.
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.
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.
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.