org.jgroups.stack
Class StateTransferInfo

java.lang.Object
  extended byorg.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

Field Summary
static int GET_FROM_MANY
           
static int GET_FROM_SINGLE
           
 Address requester
           
 Address target
           
 java.util.Vector targets
           
 int type
           
 
Constructor Summary
StateTransferInfo(Address requester, int type, Address target)
           
StateTransferInfo(int type, Address target)
           
StateTransferInfo(int type, java.util.Vector targets)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

toString

public java.lang.String toString()


Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.