Home » apache-tomcat-6.0.26-src » org.apache » catalina » cluster » util » [javadoc | source]
org.apache.catalina.cluster.util
public class: LinkObject [javadoc | source]
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:
 public LinkObject(String key,
    Object payload) 
    Construct a new element from the data object. Sets the pointer to null.
    Parameters:
    key - The key
    payload - The data object.
Method from org.apache.catalina.cluster.util.LinkObject Summary:
append,   data,   getKey,   next
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.cluster.util.LinkObject Detail:
 public  void append(LinkObject next) 
    Set the next element.
 public Object data() 
    Get the data object from the element.
 public Object getKey() 
    Get the unique message id
 public LinkObject next() 
    Get the next element.