|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object m.c.m.proxyma.plugins.preprocessors.AbstractPreprocessor m.c.m.proxyma.plugins.preprocessors.StoreTimestampPreprocessor
public class StoreTimestampPreprocessor
This preprocessor realize a component that registers into a resource attribute
the time when the request has come to the server.
It works in conjunction with the PerformanceTestSerializer and it could be
useful to test the performances of the server.
NOTE: this software is released under GPL License. See the LICENSE of this distribution for more informations.
Constructor Summary | |
---|---|
StoreTimestampPreprocessor(ProxymaContext context)
The default constructor for this class It prepares the context logger and the logger for the access-log. |
Method Summary | |
---|---|
java.lang.String |
getHtmlDescription()
Returns a short description of what the plugin does.. |
java.lang.String |
getName()
Returns the name of the plugin. |
void |
process(ProxymaResource aResource)
This adds a resource attribute to the current resource in order to memorize the instant when the new request has come to the server. |
Methods inherited from class m.c.m.proxyma.plugins.preprocessors.AbstractPreprocessor |
---|
getType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreTimestampPreprocessor(ProxymaContext context)
Method Detail |
---|
public void process(ProxymaResource aResource)
process
in interface ResourceHandler
process
in class AbstractPreprocessor
aResource
- any ProxymaResourcePerformanceTestSerializer
public java.lang.String getName()
getName
in interface ResourceHandler
getName
in class AbstractPreprocessor
public java.lang.String getHtmlDescription()
getHtmlDescription
in interface ResourceHandler
getHtmlDescription
in class AbstractPreprocessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |