org.jgroups.stack

Class StateTransferInfo

public class StateTransferInfo extends 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 intGET_FROM_MANY
static intGET_FROM_SINGLE
Addressrequester
Addresstarget
Vectortargets
longtimeout
inttype
Constructor Summary
StateTransferInfo(Address requester, int type, Address target)
StateTransferInfo(int type, Address target)
StateTransferInfo(int type, Vector targets)
Method Summary
StringtoString()

Field Detail

GET_FROM_MANY

public static final int GET_FROM_MANY

GET_FROM_SINGLE

public static final int GET_FROM_SINGLE

requester

public Address requester

target

public Address target

targets

public Vector targets

timeout

public long timeout

type

public int type

Constructor Detail

StateTransferInfo

public StateTransferInfo(Address requester, int type, Address target)

StateTransferInfo

public StateTransferInfo(int type, Address target)

StateTransferInfo

public StateTransferInfo(int type, Vector targets)

Method Detail

toString

public String toString()
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.