org.jgroups.protocols
Class PARTITIONER.PartitionerHeader
java.lang.Object
org.jgroups.Header
org.jgroups.protocols.PARTITIONER.PartitionerHeader
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Externalizable, java.io.Serializable
- Enclosing class:
- PARTITIONER
- 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.
- See Also:
- Serialized Form
Methods inherited from class org.jgroups.Header |
size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PARTITIONER.PartitionerHeader
public PARTITIONER.PartitionerHeader()
PARTITIONER.PartitionerHeader
public PARTITIONER.PartitionerHeader(int type)
PARTITIONER.PartitionerHeader
public PARTITIONER.PartitionerHeader(int type,
int partition)
toString
public java.lang.String toString()
- Overrides:
toString
in class Header
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2001,2002 www.jgroups.com . All Rights Reserved.