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.
- Bela Ban
down_handler, down_prot, down_queue, down_thread, down_thread_prio, log, observer, props, stack, up_handler, up_prot, up_queue, up_thread, up_thread_prio |
destroy, down, getDownProtocol, getDownQueue, getName, getProperties, getUpProtocol, getUpQueue, handleSpecialDownEvent, init, passDown, passUp, providedDownServices, providedUpServices, receiveDownEvent, receiveUpEvent, requiredDownServices, requiredUpServices, setDownProtocol, setObserver, setProperties, setPropertiesInternal, setProtocolStack, setUpProtocol, start, startDownHandler, startUpHandler, stop, stopInternal, up |
getName
public String getName()
All protocol names have to be unique !
- getName in interface Protocol
init
public void init()
throws Exception- init in interface Protocol
requiredDownServices
public Vector requiredDownServices()
- requiredDownServices in interface Protocol
setProperties
public boolean setProperties(Properties props)
- setProperties in interface Protocol
start
public void start()
throws Exception- start in interface Protocol
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.