| |
|
| java.lang.Object java.lang.Thread org.jgroups.stack.UpHandler org.jgroups.protocols.VIEW_SYNC
VIEW_SYNC | public class VIEW_SYNC extends Protocol (Code) | | Periodically sends the view to the group. When a view is received which is greater than the current view, we
install it. Otherwise we simply discard it. This is used to solve the problem for unreliable view
dissemination outlined in JGroups/doc/ReliableViewInstallation.txt. This protocol is supposed to be just below GMS.
author: Bela Ban version: $Id: VIEW_SYNC.java,v 1.10.2.1 2007/04/27 08:03:52 belaban Exp $ |
Inner Class :public static class ViewSyncHeader extends Header implements Streamable | |
avg_send_interval | long avg_send_interval(Code) | | Sends a VIEW_SYNC message to the group every 20 seconds on average. 0 disables sending of VIEW_SYNC messages
|
getAverageSendInterval | public long getAverageSendInterval()(Code) | | |
getNumViewsAdjusted | public int getNumViewsAdjusted()(Code) | | |
getNumViewsSent | public int getNumViewsSent()(Code) | | |
resetStats | public void resetStats()(Code) | | |
sendViewRequest | public void sendViewRequest()(Code) | | Sends a VIEW_SYNC_REQ to all members, every member replies with a VIEW multicast
|
setAverageSendInterval | public void setAverageSendInterval(long gossip_interval)(Code) | | |
startViewSender | void startViewSender()(Code) | | |
stopViewSender | void stopViewSender()(Code) | | |
Fields inherited from org.jgroups.stack.UpHandler | final protected Log log(Code)(Java Doc)
|
|
|
|