|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivityHandle
ActivityHandle is used as a representation of a single activity when it is suspended from a running thread and may be later resumed. The implementation of the token can be as lightweight as required by the underlying implementation in order that it can uniquely represent all activity instances. Since this is a client-facing class, it is unlikely that the application user will typically want to see the entire activity context in order to simply suspend it from the thread.
Method Summary | |
---|---|
boolean |
equals(Object obj)
Although users won't typically care what the underlying implementation of a context is, they will need to do comparisons. |
int |
getTimeout()
|
int |
hashCode()
Although users won't typically care what the underlying implementation of a context is, they will need to do comparisons. |
String |
tid()
|
boolean |
valid()
|
Method Detail |
---|
int getTimeout()
boolean equals(Object obj)
equals
in class Object
true
if the two objects are the same,
false
otherwise.int hashCode()
hashCode
in class Object
boolean valid()
String tid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |