|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectovm.polyd.policy.Invocation
ovm.polyd.policy.PlainInvocation
ovm.polyd.runemu.RunaboutStatInvocation
public class RunaboutStatInvocation
An invocation policy that keeps track of the number of
invocations performed. Used by RunaboutStat.
| Method Summary | |
|---|---|
java.lang.Object |
invoke(java.lang.Object obj,
java.lang.reflect.Method m,
java.lang.Object[] args)
Invoke one method, using the given argument, performing additional actions whenever necessary. |
static void |
printStats()
Prints statistics about the invocations performed so far using this invocation policy. |
static Invocation |
theInvocation()
Returns an instance of this invocation policy. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Invocation theInvocation()
public java.lang.Object invoke(java.lang.Object obj,
java.lang.reflect.Method m,
java.lang.Object[] args)
throws java.lang.Throwable
Invocation
invoke in class PlainInvocationobj - the instance to which the message is sentm - the methodargs - the arguments (including wrapped primitives)
null
java.lang.Throwablepublic static void printStats()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||