JavaGroups
Class StateTransferInfo
java.lang.Object
|
+--JavaGroups.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 the members.
|
Method Summary |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
GET_FROM_SINGLE
public static final int GET_FROM_SINGLE
GET_FROM_MANY
public static final int GET_FROM_MANY
type
public int type
target
public java.lang.Object target
targets
public java.util.Vector targets
StateTransferInfo
public StateTransferInfo(int type,
java.lang.Object target)
StateTransferInfo
public StateTransferInfo(int type,
java.util.Vector targets)
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object