Uses of Class
org.jgroups.View
Packages that use View
Package
Description
Provides top-level public JGroups classes such as Channel, Message, etc.
Provides building blocks that are layered on top of channels.
Provides debug support, including testing, profiling, and a graphical view of a protocol stack.
Provides demonstrations of JGroups functionality.
Provides an applet that demonstrates JGroups functionality.
A distributed whiteboard applet implemented using JGroups.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Supports probabilistic broadcasts.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of View in org.jgroups
Subclasses of View in org.jgroupsFields in org.jgroups with type parameters of type ViewMethods in org.jgroups that return ViewModifier and TypeMethodDescriptionMergeView.copy()View.copy()abstract ViewChannel.getView()Gets the current view.JChannel.getView()Returns the current view.Methods in org.jgroups that return types with arguments of type ViewMethods in org.jgroups with parameters of type ViewModifier and TypeMethodDescriptionvoidExtendedReceiverAdapter.viewAccepted(View new_view) voidMembershipListener.viewAccepted(View new_view) Called when a change in membership has occurred.voidReceiverAdapter.viewAccepted(View view) -
Uses of View in org.jgroups.blocks
Methods in org.jgroups.blocks with parameters of type ViewModifier and TypeMethodDescriptionprotected voidPullPushAdapter.notifyViewChange(View v) Deprecated.voidRequestCorrelator.receiveView(View new_view) Event.VIEW_CHANGE event received from a layer below.voidDistributedLockManager.viewAccepted(View new_view) Deprecated.Remove all locks held by members who left the previous viewvoidDistributedQueue.viewAccepted(View new_view) voidDistributedTree.viewAccepted(View new_view) voidMembershipListenerAdapter.viewAccepted(View new_view) Notify membership listener that new view was accepted.voidNotificationBus.viewAccepted(View new_view) Deprecated.voidPartitionedHashMap.ArrayBasedConsistentHashFunction.viewAccepted(View new_view) voidPartitionedHashMap.ConsistentHashFunction.viewAccepted(View new_view) voidPartitionedHashMap.viewAccepted(View new_view) voidReplCache.viewAccepted(View new_view) voidReplicatedHashMap.viewAccepted(View new_view) voidReplicatedTree.viewAccepted(View new_view) voidVotingAdapter.viewAccepted(View newView) Callback for notification about the new view of the group.voidGroupRequest.viewChange(View new_view) Any member of 'membership' that is not in the new view is flagged as SUSPECTED.voidMultiRequest.viewChange(View new_view) Any member of 'membership' that is not in the new view is flagged as SUSPECTED.voidReplicatedHashMap.Notification.viewChange(View view, Vector<Address> new_mbrs, Vector<Address> old_mbrs) voidReplicatedTree.ReplicatedTreeListener.viewChange(View new_view) abstract voidRequest.viewChange(View new_view) voidRspCollector.viewChange(View new_view) voidUnicastRequest.viewChange(View new_view) If the target address is not a member of the new view, we'll mark the response as not received and unblock the caller of execute() -
Uses of View in org.jgroups.debug
Methods in org.jgroups.debug with parameters of type View -
Uses of View in org.jgroups.demos
Fields in org.jgroups.demos declared as ViewMethods in org.jgroups.demos with parameters of type ViewModifier and TypeMethodDescriptionvoidDraw.viewAccepted(View v) voidQuoteClient.viewAccepted(View new_view) voidQuoteServer.viewAccepted(View new_view) voidRelayDemoRpc.viewAccepted(View new_view) voidTopology.viewAccepted(View view) voidViewDemo.viewAccepted(View new_view) voidReplicatedHashMapDemo.viewChange(View view, Vector new_mbrs, Vector old_mbrs) -
Uses of View in org.jgroups.demos.applets
Methods in org.jgroups.demos.applets with parameters of type View -
Uses of View in org.jgroups.demos.wb
Methods in org.jgroups.demos.wb with parameters of type View -
Uses of View in org.jgroups.mux
Methods in org.jgroups.mux that return ViewModifier and TypeMethodDescriptionMuxChannel.getClusterView()Deprecated.Returns the JGroups view of a cluster, e.g.MuxChannel.getView()Deprecated.Returns the service view, ie. -
Uses of View in org.jgroups.protocols
Fields in org.jgroups.protocols declared as ViewModifier and TypeFieldDescriptionprotected ViewRELAY.bridge_viewThe view of the bridge cluster, usually consists of max 2 nodesprotected ViewRELAY.global_viewThe combined view of local and remote clusterprotected ViewRELAY.ViewData.global_viewprotected ViewRELAY.local_viewThe view of the local clusterprotected ViewRELAY.remote_viewThe view of the remote clusterprotected ViewRELAY.ViewData.remote_viewprotected ViewDiscovery.viewprotected ViewExecuting.viewprotected ViewLocking.viewprotected ViewSTOMP.viewMethods in org.jgroups.protocols that return ViewModifier and TypeMethodDescriptionprotected ViewRELAY.generateGlobalView(View local_view, View remote_view) protected ViewRELAY.generateGlobalView(View local_view, View remote_view, boolean merge) PingData.getView()VIEW_SYNC.ViewSyncHeader.getView()protected final ViewMethods in org.jgroups.protocols that return types with arguments of type ViewModifier and TypeMethodDescriptionDiscovery.findAllViews(Promise<JoinRsp> promise) Finds the views: sends a GET_MBRS_REQ to all members, waits 'timeout' ms or until 'num_initial_members' have been retrievedMethods in org.jgroups.protocols with parameters of type ViewModifier and TypeMethodDescriptionstatic RELAY.ViewDataprotected ViewRELAY.generateGlobalView(View local_view, View remote_view) protected ViewRELAY.generateGlobalView(View local_view, View remote_view, boolean merge) voidCENTRAL_EXECUTOR.handleView(View view) voidCENTRAL_LOCK.handleView(View view) protected voidDAISYCHAIN.handleView(View view) protected voidExecuting.handleView(View view) protected voidFILE_PING.handleView(View view) protected voidLocking.handleView(View view) voidPEER_LOCK.handleView(View view) protected voidRELAY.handleView(View view) protected voidSTOMP.handleView(View view) protected voidMERGEFAST.handleViewChange(View v) protected voidRELAY.sendViewOnLocalCluster(Address dest, View remote_view, View global_view, boolean use_seperate_thread) voidvoidRELAY.Receiver.viewAccepted(View view) Constructors in org.jgroups.protocols with parameters of type ViewModifierConstructorDescriptionCoordAnnouncement(View view) MergefastHeader(View view) PingData(Address own_addr, View view, boolean is_server, String logical_name, Collection<PhysicalAddress> physical_addrs) ViewSyncHeader(int type, View view) -
Uses of View in org.jgroups.protocols.pbcast
Fields in org.jgroups.protocols.pbcast declared as ViewMethods in org.jgroups.protocols.pbcast that return ViewModifier and TypeMethodDescriptionGMS.getNextView(Collection<Address> new_mbrs, Collection<Address> old_mbrs, Collection<Address> suspected_mbrs) Computes the next view.JoinRsp.getView()MergeData.getView()static ViewMethods in org.jgroups.protocols.pbcast with parameters of type ViewModifier and TypeMethodDescriptionprotected booleanGMS._startFlush(View new_view, int maxAttempts, long randomFloor, long randomCeiling) voidGMS.castViewChangeWithDest(View new_view, Digest digest, JoinRsp jr, Collection<Address> newMembers) Broadcasts the new view and digest, and waits for acks from all members in the list given as argument.voidCoordGmsImpl.handleViewChange(View new_view, Digest digest) Called by the GMS when a VIEW is received.voidGmsImpl.handleViewChange(View new_view, Digest digest) voidParticipantGmsImpl.handleViewChange(View new_view, Digest digest) If we are leaving, we have to wait for the view change (last msg in the current view) that excludes us before we can leave.voidGMS.installView(View new_view) voidGMS.installView(View new_view, Digest digest) Sets the new view and sends a VIEW_CHANGE event up and down the stack.voidMethod parameters in org.jgroups.protocols.pbcast with type arguments of type ViewModifier and TypeMethodDescriptionvoidInvoked upon receiving a MERGE event from the MERGE layer.voidvoidInvoked upon receiving a MERGE event from the MERGE layer.static voidMerger.sanitizeViews(Map<Address, View> map) Removes all members from a given view which don't have us in their view (https://jira.jboss.org/browse/JGRP-1061).Constructors in org.jgroups.protocols.pbcast with parameters of type View -
Uses of View in org.jgroups.util
Methods in org.jgroups.util that return ViewModifier and TypeMethodDescriptionstatic ViewUtil.createView(Address coord, long id, Address... members) static ViewUtil.readView(DataInputStream in) Methods in org.jgroups.util with parameters of type ViewModifier and TypeMethodDescriptionstatic intvoidAckCollector.handleView(View v) static booleanUtil.isCoordinator(View view, Address local_addr) Util.leftMembers(View one, View two) Returns a list of members which left from view one to twostatic intvoidMyReceiver.viewAccepted(View new_view) static voidUtil.writeView(View view, DataOutputStream out) Method parameters in org.jgroups.util with type arguments of type ViewModifier and TypeMethodDescriptionstatic booleanUtil.containsViewId(Collection<View> views, ViewId vid) static Collection<Address> Util.determineMergeCoords(Map<Address, View> map) This is the same or a subset ofUtil.determineMergeParticipants(java.util.Map)and contains only members which are currently sub-partition coordinators.static Collection<Address> Util.determineMergeParticipants(Map<Address, View> map) Determines the members which take part in a merge.static StringUtil.printViews(Collection<View> views)