|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Activity record interface for method or constructor calls, including both invocation and result (return or throw).
Trace,
TraceRecorder| Inner classes inherited from class edu.mit.ai.psg.traveler.SynchronizationRecord |
SynchronizationRecord.Entry,
SynchronizationRecord.Exit |
| Method Summary | |
Member |
getMember()
method or constructor invoked |
Object[] |
getParameters()
actual parameter values (not cloned) |
Object |
getResult()
value returned, exception thrown, or null |
String |
invocationString()
string describing invocation target.method(arguments...) |
boolean |
isComplete()
true if call record has been completed |
boolean |
isCompleteByReturn()
true if call completed by returning |
boolean |
isCompleteByReturnVoid()
true if call completed by returning void |
boolean |
isCompleteByThrow()
true if call completed by throwing an exception |
void |
recordReturned(Object value)
Record that call completed by returning value |
void |
recordReturnedVoid()
Record that call completed by returning void |
void |
recordThrew(Throwable thrown)
Record that call completed by throwing thrown |
String |
resultString()
string describing result: no recorded result, returned void, returned value, or threw exception |
| Methods inherited from interface edu.mit.ai.psg.traveler.SynchronizationRecord |
addSynchronizationChild,
addSynchronizationEntry,
addSynchronizationExit,
getSynchronizationChildren,
getSynchronizationEntry,
getSynchronizationExit,
getSynchronizationParent,
getTargetNow,
getTargetThen,
isSynchronized,
isSynchronizedWait,
setSynchronizationParent |
| Methods inherited from interface edu.mit.ai.psg.traveler.ActivityRecord |
addChild,
addThreadedChild,
finished,
getChildren,
getChildrenInThread,
getParent,
getThreadedChildren,
isFinished,
setParent |
| Method Detail |
public Member getMember()
public Object[] getParameters()
public void recordReturnedVoid()
public void recordReturned(Object value)
valuepublic void recordThrew(Throwable thrown)
thrownpublic boolean isComplete()
public boolean isCompleteByThrow()
public boolean isCompleteByReturn()
public boolean isCompleteByReturnVoid()
public Object getResult()
public String invocationString()
public String resultString()
|
Copyright (c) 1996-1999 Massachusetts Institute of Technology Feedback: jeva-feedback@ai.mit.edu |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||