org.jgroups.protocols
Class PARTITIONER.PartitionerHeader
- PARTITIONER
- Cloneable, Externalizable
public static class PARTITIONER.PartitionerHeader
The Partitioner header normally (type = NORMAL) contains just the partition number that is checked to discard messages
received from other partitions.
If type is COMMAND Destination contains an Hashtable where keys are of type Address and represent process (channel)
addresses and values are Integer representing the partition that shuold be assigned to each Address.
PartitionerHeader
public PartitionerHeader()
PartitionerHeader
public PartitionerHeader(int type)
PartitionerHeader
public PartitionerHeader(int type,
int partition)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
toString
public String toString()
- toString in interface Header
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.