|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestTrace
A trace of nested requests that are performed by the repository system. This trace information can be used to
correlate repository events with higher level operations in the application code that eventually caused the events. A
single trace can carry an arbitrary object as data which is meant to describe a request/operation that is currently
executed. For call hierarchies within the repository system itself, this data will usually be the *Request
object that is currently processed. When invoking methods on the repository system, client code may provide a request
trace that has been prepopulated with whatever data is useful for the application to indicate its state for later
evaluation when processing the repository events.
RepositoryEvent.getTrace()
Method Summary | |
---|---|
Object |
getData()
Gets the data associated with this trace. |
RequestTrace |
getParent()
Gets the parent of this trace. |
RequestTrace |
newChild(Object data)
Creates a new child of this trace. |
Method Detail |
---|
Object getData()
null
.RequestTrace getParent()
null
if this is the root of the trace stack.RequestTrace newChild(Object data)
data
- The data to associate with the child, may be null
.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |