|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.cluster.util.LinkObject
The class LinkObject implements an element for a linked list, consisting of a general data object and a pointer to the next element.
Constructor Summary | |
LinkObject(java.lang.String key,
java.lang.Object payload)
Construct a new element from the data object. |
Method Summary | |
void |
append(LinkObject next)
Set the next element. |
java.lang.Object |
data()
Get the data object from the element. |
java.lang.Object |
getKey()
Get the unique message id |
LinkObject |
next()
Get the next element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinkObject(java.lang.String key, java.lang.Object payload)
key
- The keypayload
- The data object.Method Detail |
public void append(LinkObject next)
next
- The next element.public LinkObject next()
public java.lang.Object data()
public java.lang.Object getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |