org.jgroups.stack
Class StateTransferInfo
java.lang.Object
org.jgroups.stack.StateTransferInfo
- public class StateTransferInfo
- extends java.lang.Object
Contains parameters for state transfer. Exchanged between channel and STATE_TRANSFER
layer. If type is GET_FROM_SINGLE, then the state is retrieved from 'target'. If
target is null, then the state will be retrieved from the oldest member (usually the
coordinator). If type is GET_FROM_MANY, the the state is retrieved from
'targets'. If targets is null, then the state is retrieved from all members.
- Author:
- Bela Ban
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GET_FROM_SINGLE
public static final int GET_FROM_SINGLE
- See Also:
- Constant Field Values
GET_FROM_MANY
public static final int GET_FROM_MANY
- See Also:
- Constant Field Values
requester
public Address requester
type
public int type
target
public Address target
targets
public java.util.Vector targets
StateTransferInfo
public StateTransferInfo(Address requester,
int type,
Address target)
StateTransferInfo
public StateTransferInfo(int type,
Address target)
StateTransferInfo
public StateTransferInfo(int type,
java.util.Vector targets)
toString
public java.lang.String toString()
Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.