|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interceptor that registers the timestamp of each method call before and after invocation.
Field Summary | |
---|---|
Map |
calls
|
Constructor Summary | |
BenchmarkInterceptor()
|
Method Summary | |
---|---|
Object |
afterInvoke(Object object, String methodName, def arguments, Object result)
|
Object |
beforeInvoke(Object object, String methodName, def arguments)
|
boolean |
doInvoke()
|
Map |
getCalls()
|
void |
reset()
|
List |
statistic()
|
Constructor Detail |
---|
BenchmarkInterceptor()
Method Detail |
---|
public Object afterInvoke(Object object, String methodName, def arguments, Object result)
public Object beforeInvoke(Object object, String methodName, def arguments)
public boolean doInvoke()
public Map getCalls()
public void reset()
public List statistic()