public class InvocationCounter
extends java.lang.Object
This class is thread safe.
| Constructor and Description |
|---|
InvocationCounter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createProxy(java.lang.Object target)
Create a new proxy.
|
int |
getExceptionCount()
Get the number of exceptions counted by this instance.
|
int |
getInvocationCount()
Get the number of invocations counted by this instance.
|
void |
reset()
Reset all counters to zero.
|
public java.lang.Object createProxy(java.lang.Object target)
target - the target instancepublic int getInvocationCount()
public int getExceptionCount()
public void reset()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.