|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensolaris.os.dtrace.ExitRecord
public final class ExitRecord
A record indicating that the DTrace exit()
action is about to
stop the source Consumer
. The exit status is whatever value
was passed to the exit()
action in the D program.
Immutable. Supports persistence using XMLEncoder
.
Constructor Summary | |
---|---|
ExitRecord(int exitStatus)
Creates an exit record with the given status. |
Method Summary | |
---|---|
int |
getStatus()
Gets the exit status of a DTrace Consumer . |
java.lang.String |
toString()
Gets a string representation of the exit status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExitRecord(int exitStatus)
exitStatus
- value passed to the D exit()
actionMethod Detail |
---|
public int getStatus()
Consumer
.
exit()
actionpublic java.lang.String toString()
toString
in class java.lang.Object
getStatus()
returned by
Integer.toString(int i)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |