org.jgroups.stack
Class StateTransferInfo

java.lang.Object
  extended by org.jgroups.stack.StateTransferInfo

public class StateTransferInfo
extends java.lang.Object

Contains parameters for state transfer. Exchanged between channel and STATE_TRANSFER layer. The state is retrieved from 'target'. If target is null, then the state will be retrieved from the oldest member (usually the coordinator).

Author:
Bela Ban

Field Summary
 byte[] state
           
 Address target
           
 long timeout
           
 
Constructor Summary
StateTransferInfo()
           
StateTransferInfo(Address target)
           
StateTransferInfo(Address target, long timeout)
           
StateTransferInfo(Address target, long timeout, byte[] state)
           
 
Method Summary
 StateTransferInfo copy()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

target

public Address target

timeout

public long timeout

state

public byte[] state
Constructor Detail

StateTransferInfo

public StateTransferInfo()

StateTransferInfo

public StateTransferInfo(Address target)

StateTransferInfo

public StateTransferInfo(Address target,
                         long timeout)

StateTransferInfo

public StateTransferInfo(Address target,
                         long timeout,
                         byte[] state)
Method Detail

copy

public StateTransferInfo copy()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.