org.jgroups.protocols

Class PARTITIONER.PartitionerHeader

public static class PARTITIONER.PartitionerHeader extends Header

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.
Constructor Summary
PartitionerHeader()
PartitionerHeader(int type)
PartitionerHeader(int type, int partition)
Method Summary
voidreadExternal(ObjectInput in)
StringtoString()
voidwriteExternal(ObjectOutput out)

Constructor Detail

PartitionerHeader

public PartitionerHeader()

PartitionerHeader

public PartitionerHeader(int type)

PartitionerHeader

public PartitionerHeader(int type, int partition)

Method Detail

readExternal

public void readExternal(ObjectInput in)

toString

public String toString()

writeExternal

public void writeExternal(ObjectOutput out)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.