jgroup.relacs.registry
Class MergingData

java.lang.Object
  extended by jgroup.relacs.registry.MergingData
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public final class MergingData
extends java.lang.Object
implements java.io.Externalizable

This class is a compact representation of the set of bindings (active and removed) currently maintained in a registry replica. Objects of this class are generated by the registry during merging operations, and contains all currently active bindings, together with the identifiers of the bindings that have been removed from the registry.

Since:
Jgroup 0.4
Author:
Alberto Montresor
See Also:
Serialized Form

Constructor Summary
MergingData()
           
 
Method Summary
 void readExternal(java.io.ObjectInput in)
          Restores the content of this object from the marshalled data contained in the specified input stream.
 java.lang.String toString()
          Returns a string representation of this object
 void writeExternal(java.io.ObjectOutput out)
          Marshals the content of this object to the specified output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MergingData

public MergingData()
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object

Overrides:
toString in class java.lang.Object

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Marshals the content of this object to the specified output stream.

Specified by:
writeExternal in interface java.io.Externalizable
Parameters:
out - the stream to be written
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Restores the content of this object from the marshalled data contained in the specified input stream.

Specified by:
readExternal in interface java.io.Externalizable
Parameters:
in - the stream to be read
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.