ostore.bloom
Class UpdateId

java.lang.Object
  |
  +--ostore.bloom.UpdateId
All Implemented Interfaces:
QuickSerializable

public class UpdateId
extends Object
implements QuickSerializable

Globally unique update identifier.

Version:
$Id: UpdateId.java,v 1.13 2002/10/31 07:53:37 jeffpang Exp $
Author:
Sean C. Rhea

Field Summary
 NodeId node_id
           
 long seq
           
 
Constructor Summary
UpdateId(InputBuffer buffer)
           
UpdateId(NodeId node_id, long seq)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

node_id

public NodeId node_id

seq

public long seq
Constructor Detail

UpdateId

public UpdateId(NodeId node_id,
                long seq)

UpdateId

public UpdateId(InputBuffer buffer)
         throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.
Specified by:
serialize in interface QuickSerializable
Following copied from interface: ostore.util.QuickSerializable
Parameters:
buffer - the output buffer to add the object to

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object