org.jgroups.protocols.pbcast
Class STATE_TRANSFER
public class STATE_TRANSFER
New STATE_TRANSFER protocol based on PBCAST. Compared to the one in ./protocols, it doesn't
need a QUEUE layer above it. A state request is sent to a chosen member (coordinator if
null). That member makes a copy D of its current digest and asks the application for a copy of
its current state S. Then the member returns both S and D to the requester. The requester
first sets its digest to D and then returns the state to the application.
down_handler , down_prot , down_queue , down_thread , down_thread_prio , log , observer , props , stack , stats , trace , up_handler , up_prot , up_queue , up_thread , up_thread_prio , warn |
destroy , down , downThreadEnabled , dumpStats , enableStats , getDownProtocol , getDownQueue , getName , getProperties , getUpProtocol , getUpQueue , handleSpecialDownEvent , init , isTrace , isWarn , passDown , passUp , printStats , providedDownServices , providedUpServices , receiveDownEvent , receiveUpEvent , requiredDownServices , requiredUpServices , resetStats , setDownProtocol , setObserver , setProperties , setPropertiesInternal , setProtocolStack , setTrace , setUpProtocol , setWarn , start , startDownHandler , startUpHandler , statsEnabled , stop , stopInternal , up , upThreadEnabled |
getAverageStateSize
public double getAverageStateSize()
getName
public String getName()
All protocol names have to be unique !
- getName in interface Protocol
getNumberOfStateBytesSent
public long getNumberOfStateBytesSent()
getNumberOfStateRequests
public int getNumberOfStateRequests()
init
public void init()
throws Exception
- init in interface Protocol
start
public void start()
throws Exception
- start in interface Protocol
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.