org.shiftone.jrat.provider.tree
Class Delegate
java.lang.Object
org.shiftone.jrat.provider.tree.Delegate
public class Delegate
- extends java.lang.Object
This is basically a thread specific MethodHandler. The typical JRat model is
to have a seperate handler for each method. This is also true for the
TreeMethodHandler, however that handler delegates to an instance of this
class, passing it the method key with each invocation. One instance of this
class will exist for each thread that is creating JRat events. This class
manipulates a tree structure as invocations are made.
- Author:
- jeff@shiftone.org (Jeff Drost)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Delegate
public Delegate(TreeNode rootNode)
onMethodStart
public final void onMethodStart(MethodKey methodKey)
onMethodFinish
public final void onMethodFinish(MethodKey methodKey,
long duration,
boolean success)