public static class ScopedTraceHandler.Scope extends Object
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArguments()
Returns the arguments passed to the first invocation of the method
that initiated this scope.
|
Throwable |
getException()
Returns the exception thrown from the first invocation of the method
that initiated this scope.
|
Map<String,Object> |
getExtraData()
Returns extra data stored in this scope, which may be empty.
|
List<ScopedTraceHandler.MethodData> |
getMethodData()
Returns data for each traced method in this scope.
|
Object |
getResult()
Returns the return value passed from the first invocation of the
method that initiated this scope.
|
long |
getStartTimeMillis()
Returns the time when the scope was created, as milliseconds from
1970-01-01T00:00:00Z.
|
Thread |
getThread()
Returns the thread that this scope ran in.
|
boolean |
hasResult()
Returns true if method is non-void, result tracing is enabled, and
method did not throw an exception.
|
boolean |
isRoot()
Returns true if this is the root traced scope -- it has no parent.
|
public long getStartTimeMillis()
public Thread getThread()
public boolean isRoot()
public List<ScopedTraceHandler.MethodData> getMethodData()
public Object[] getArguments()
public boolean hasResult()
public Object getResult()
public Throwable getException()
Copyright © 2006–2015 Cojen. All rights reserved.