Uses of Class
org.jgroups.View
-
Packages that use View Package Description org.jgroups Provides top-level public JGroups classes such as Channel, Message, etc.org.jgroups.blocks Provides building blocks that are layered on top of channels.org.jgroups.demos Provides demonstrations of JGroups functionality.org.jgroups.demos.wb A distributed whiteboard applet implemented using JGroups.org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.protocols.pbcast org.jgroups.protocols.relay org.jgroups.protocols.rules org.jgroups.protocols.tom org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of View in org.jgroups
Subclasses of View in org.jgroups Modifier and Type Class Description classMergeViewA view that is sent as a result of a cluster merge.Fields in org.jgroups declared as View Modifier and Type Field Description protected View[]MergeView. subgroupsprotected ViewJChannel. viewMethods in org.jgroups that return View Modifier and Type Method Description static ViewView. create(Address coord, long id, java.util.Collection<Address> members)static ViewView. create(Address coord, long id, Address... members)ViewChannel. getView()Deprecated.Gets the current view.ViewJChannel. getView()protected static View[]MergeView. listToArray(java.util.List<View> list)ViewJChannel. view()Methods in org.jgroups that return types with arguments of type View Modifier and Type Method Description java.util.function.Supplier<? extends View>View. create()java.util.List<View>MergeView. getSubgroups()Methods in org.jgroups with parameters of type View Modifier and Type Method Description intView. compareTo(View o)booleanMergeView. deepEquals(View other)booleanView. deepEquals(View other)static Address[][]View. diff(View from, View to)Returns the difference between 2 views from and to.static java.util.List<Address>View. leftMembers(View one, View two)Returns a list of members which left from view one to twostatic java.util.List<Address>View. newMembers(View old, View new_view)static booleanView. sameMembers(View v1, View v2)Checks if two views have the same members regardless of order.static booleanView. sameMembersOrdered(View v1, View v2)Checks if two views have the same members observing order.static booleanView. sameViews(View... views)Returns true if all views are the same.default voidMembershipListener. viewAccepted(View new_view)Called when a change in membership has occurred.voidReceiverAdapter. viewAccepted(View view)Method parameters in org.jgroups with type arguments of type View Modifier and Type Method Description protected static View[]MergeView. listToArray(java.util.List<View> list)static booleanView. sameViews(java.util.Collection<View> views)Constructor parameters in org.jgroups with type arguments of type View Constructor Description MergeView(ViewId view_id, Address[] members, java.util.List<View> subgroups) -
Uses of View in org.jgroups.blocks
Fields in org.jgroups.blocks declared as View Modifier and Type Field Description protected ViewRequestCorrelator. viewMethods in org.jgroups.blocks with parameters of type View Modifier and Type Method Description voidRequestCorrelator. receiveView(View new_view)View received: mark all responses from members that are not in new_view as suspectedvoidPartitionedHashMap.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)voidGroupRequest. viewChange(View view, boolean handle_previous_subgroups)Any member of 'membership' that is not in the new view is flagged as SUSPECTED.voidReplicatedHashMap.Notification. viewChange(View view, java.util.List<Address> mbrs_joined, java.util.List<Address> mbrs_left)voidReplicatedTree.ReplicatedTreeListener. viewChange(View new_view)abstract voidRequest. viewChange(View new_view, boolean handle_previous_subgroups)voidUnicastRequest. viewChange(View view, boolean handle_previous_subgroups)If the target address is not a member of the new view, we'll mark the response as suspected and unblock the caller of execute() -
Uses of View in org.jgroups.demos
Fields in org.jgroups.demos declared as View Modifier and Type Field Description protected ViewRelayDemoRpc. viewMethods in org.jgroups.demos with parameters of type View Modifier and Type Method Description protected static java.lang.StringRelayDemo. print(View view)voidChat. viewAccepted(View new_view)voidDraw. viewAccepted(View v)voidQuoteClient. viewAccepted(View new_view)voidQuoteServer. viewAccepted(View new_view)voidRelayDemo. viewAccepted(View new_view)voidRelayDemoRpc. viewAccepted(View new_view)voidViewDemo. viewAccepted(View new_view)voidReplicatedHashMapDemo. viewChange(View view, java.util.List<Address> new_mbrs, java.util.List<Address> old_mbrs) -
Uses of View in org.jgroups.demos.wb
Methods in org.jgroups.demos.wb with parameters of type View Modifier and Type Method Description voidWhiteboard. viewAccepted(View v) -
Uses of View in org.jgroups.protocols
Fields in org.jgroups.protocols declared as View Modifier and Type Field Description protected ViewRELAY. bridge_viewDeprecated.The view of the bridge cluster, usually consists of max 2 nodesprotected ViewSHARED_LOOPBACK. curr_viewprotected ViewRELAY. global_viewDeprecated.The combined view of local and remote clusterprotected ViewRELAY.ViewData. global_viewprotected ViewRELAY. local_viewDeprecated.The view of the local clusterprotected ViewRELAY. remote_viewDeprecated.The view of the remote clusterprotected ViewRELAY.ViewData. remote_viewprotected ViewCOUNTER. viewprotected ViewDiscovery. viewprotected ViewEncrypt. viewprotected ViewExecuting. viewprotected ViewLocking. viewprotected ViewMERGE3. viewprotected ViewNAMING. viewprotected ViewSEQUENCER. viewprotected ViewSEQUENCER2. viewprotected ViewSSL_KEY_EXCHANGE. viewprotected ViewSTOMP. viewprotected ViewTP. viewFields in org.jgroups.protocols with type parameters of type View Modifier and Type Field Description protected ResponseCollector<View>MERGE3. view_rspsMethods in org.jgroups.protocols that return View Modifier and Type Method Description protected ViewRELAY. generateGlobalView(View local_view, View remote_view)Deprecated.protected ViewRELAY. generateGlobalView(View local_view, View remote_view, boolean merge)Deprecated.ViewSHARED_LOOPBACK. getView()protected ViewMERGE3. readView(byte[] buffer, int offset, int length)ViewTP. view()Methods in org.jgroups.protocols that return types with arguments of type View Modifier and Type Method Description static java.util.List<View>MERGE3. detectDifferentViews(java.util.Map<Address,View> map)Methods in org.jgroups.protocols with parameters of type View Modifier and Type Method Description static RELAY.ViewDataRELAY.ViewData. create(View remote_view, View global_view)protected ViewRELAY. generateGlobalView(View local_view, View remote_view)Deprecated.protected ViewRELAY. generateGlobalView(View local_view, View remote_view, boolean merge)Deprecated.protected voidASYM_ENCRYPT. handleView(View v)voidCENTRAL_EXECUTOR. handleView(View view)voidCENTRAL_LOCK. handleView(View view)voidCENTRAL_LOCK2. handleView(View v)protected voidCOUNTER. handleView(View view)protected voidDAISYCHAIN. handleView(View view)protected voidEncrypt. handleView(View view)protected voidExecuting. handleView(View view)protected voidFD_HOST. handleView(View view)protected voidFILE_PING. handleView(View new_view, View old_view, boolean coord_changed)protected voidKeyExchange. handleView(View view)protected voidLocking. handleView(View view)protected voidRELAY. handleView(View view)Deprecated.protected voidRSVP. handleView(View view)protected voidSSL_KEY_EXCHANGE. handleView(View view)protected voidSTOMP. handleView(View view)protected voidFailureDetection. handleViewChange(View v)protected voidFORWARD_TO_COORD. handleViewChange(View view)protected voidFRAG2. handleViewChange(View view)protected voidFRAG3. handleViewChange(View view)protected voidSEQUENCER. handleViewChange(View v)protected voidSEQUENCER2. handleViewChange(View v)protected voidSHARED_LOOPBACK. handleViewChange(View v)static BufferMERGE3. marshal(View view)protected voidRELAY. sendViewOnLocalCluster(View remote_view, View global_view, boolean use_seperate_thread, java.util.List<Address> new_mbrs)Deprecated.voidRELAY.Receiver. viewAccepted(View view)voidBaseBundler. viewChange(View view)default voidBundler. viewChange(View view)Method parameters in org.jgroups.protocols with type arguments of type View Modifier and Type Method Description static java.util.List<View>MERGE3. detectDifferentViews(java.util.Map<Address,View> map) -
Uses of View in org.jgroups.protocols.pbcast
Subclasses of View in org.jgroups.protocols.pbcast Modifier and Type Class Description classDeltaViewSubclass ofViewwith a null members field.Fields in org.jgroups.protocols.pbcast declared as View Modifier and Type Field Description protected ViewGMS. viewprotected ViewJoinRsp. viewprotected ViewMergeData. viewprotected ViewNAKACK2. viewprotected ViewSTABLE. viewprotected ViewSTATE_TRANSFER. viewFields in org.jgroups.protocols.pbcast with type parameters of type View Modifier and Type Field Description protected java.util.Set<View>Merger.MergeTask. subviewsprotected java.util.Map<Address,View>GmsImpl.Request. viewsMethods in org.jgroups.protocols.pbcast that return View Modifier and Type Method Description protected static ViewGMS. createDeltaView(View current_view, View next_view)protected ViewGMS. createViewFromDeltaView(View current_view, DeltaView delta_view)ViewGMS. getNextView(java.util.Collection<Address> joiners, java.util.Collection<Address> leavers, java.util.Collection<Address> suspected_mbrs)Computes the next view.ViewJoinRsp. getView()ViewMergeData. getView()ViewGMS. view()Methods in org.jgroups.protocols.pbcast that return types with arguments of type View Modifier and Type Method Description static Tuple<View,Digest>GMS. _readViewAndDigest(byte[] buffer, int offset, int length)Tuple<View,Digest>GMS. getViewAndDigest()Returns the current view and digest.protected Tuple<View,Digest>GMS. readViewAndDigest(byte[] buffer, int offset, int length)Methods in org.jgroups.protocols.pbcast with parameters of type View Modifier and Type Method Description protected booleanGMS. _startFlush(View new_view, int maxAttempts, boolean resumeIfFailed, long randomFloor, long randomCeiling)voidGMS. castViewChangeAndSendJoinRsps(View new_view, Digest digest, java.util.Collection<Address> expected_acks, java.util.Collection<Address> joiners, JoinRsp jr)Broadcasts the new view and digest as VIEW messages, possibly sends JOIN-RSP messages to joiners and then waits for acks from expected_acksprotected MutableDigestMerger.MergeTask. consolidateDigests(View new_view, java.util.List<MergeData> merge_rsps)Merge all digests into one.protected static ViewGMS. createDeltaView(View current_view, View next_view)protected ViewGMS. createViewFromDeltaView(View current_view, DeltaView delta_view)protected static shortGMS. determineFlags(View view, Digest digest)protected DigestMerger. fetchDigestsFromAllMembersInSubPartition(View view, MergeId merge_id)Multicasts a GET_DIGEST_REQ to all members of this sub partition and waits for all responses (GET_DIGEST_RSP) or N ms.protected static intSTABLE. getRank(Address member, View v)voidGmsImpl. handleViewChange(View new_view, Digest digest)voidParticipantGmsImpl. handleViewChange(View view, Digest digest)voidServerGmsImpl. handleViewChange(View view, Digest digest)Called by the GMS when a VIEW is received.protected voidSTABLE. handleViewChange(View v)protected voidSTATE_SOCK. handleViewChange(View v)protected voidSTATE_TRANSFER. handleViewChange(View v)protected voidSTATE. handleViewChange(View v)protected voidStreamingStateTransfer. handleViewChange(View v)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.protected static BufferGMS. marshal(View view, Digest digest)protected static DigestFLUSH. maxSeqnos(View view, java.util.List<Digest> digests)Returns a digest which contains, for all members of view, the highest delivered and received seqno of all digestsprotected voidMerger. sendMergeResponse(Address sender, View view, Digest digest, MergeId merge_id)Send back a response containing view and digest to senderprotected static booleanGMS. writeAddresses(View view, Digest digest)Method parameters in org.jgroups.protocols.pbcast with type arguments of type View Modifier and Type Method Description protected static java.util.Map<Address,java.util.Collection<Address>>Merger. determineMergeCoords(java.util.Map<Address,View> views)Needs to return a map of all subview coordinators and their views (as a collection of members).protected AddressMerger. determineMergeLeader(java.util.Map<Address,View> views)Returns the address of the merge leadervoidGmsImpl. merge(java.util.Map<Address,View> views)voidMerger. merge(java.util.Map<Address,View> views)Invoked upon receiving a MERGE event from the MERGE layer.voidServerGmsImpl. merge(java.util.Map<Address,View> views)Invoked upon receiving a MERGE event from the MERGE layer.static voidMerger. sanitizeViews(java.util.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).voidMerger.MergeTask. start(java.util.Map<Address,View> views)Constructors in org.jgroups.protocols.pbcast with parameters of type View Constructor Description JoinRsp(View v, Digest d)MergeData(Address sender, View view, Digest digest)MergeData(Address sender, View view, Digest digest, boolean merge_rejected)Constructor parameters in org.jgroups.protocols.pbcast with type arguments of type View Constructor Description Request(int type, Address mbr, java.util.Map<Address,View> views)Request(int type, Address mbr, java.util.Map<Address,View> views, boolean useFlushPresent) -
Uses of View in org.jgroups.protocols.relay
Fields in org.jgroups.protocols.relay declared as View Modifier and Type Field Description protected ViewRelayer.Bridge. viewMethods in org.jgroups.protocols.relay that return View Modifier and Type Method Description ViewRELAY2. getBridgeView(java.lang.String cluster_name)protected ViewRelayer. getBridgeView(java.lang.String cluster_name)Methods in org.jgroups.protocols.relay with parameters of type View Modifier and Type Method Description protected java.util.List<Address>RELAY2. determineSiteMasters(View view, int max_num_site_masters)Iterates over the list of members and adds every member if the member's rank is below max_site_masters.protected java.util.Map<java.lang.String,java.util.List<Address>>Relayer.Bridge. extract(View view)Returns a map containing the site keys and addresses as valuesvoidRELAY2. handleView(View view)voidRelayer.Bridge. viewAccepted(View new_view)The view contains a list of SiteUUIDs. -
Uses of View in org.jgroups.protocols.rules
Fields in org.jgroups.protocols.rules declared as View Modifier and Type Field Description protected ViewSUPERVISOR. viewDeprecated.Methods in org.jgroups.protocols.rules that return View Modifier and Type Method Description ViewSUPERVISOR. getView()Deprecated.Methods in org.jgroups.protocols.rules with parameters of type View Modifier and Type Method Description protected voidSUPERVISOR. handleView(View view)Deprecated. -
Uses of View in org.jgroups.protocols.tom
Methods in org.jgroups.protocols.tom with parameters of type View Modifier and Type Method Description java.util.Collection<Address>DeliveryManagerImpl. handleView(View newView)Updates the current view in use and returns aCollectionwith the members that left the cluster. -
Uses of View in org.jgroups.util
Methods in org.jgroups.util that return View Modifier and Type Method Description static ViewUtil. readView(java.io.DataInput in)Methods in org.jgroups.util that return types with arguments of type View Modifier and Type Method Description static java.util.List<View>Util. detectDifferentViews(java.util.Map<Address,View> map)Methods in org.jgroups.util with parameters of type View Modifier and Type Method Description static intUtil. getRank(View view, Address addr)Returns the rank of a member in a given viewstatic booleanUtil. isCoordinator(View view, Address local_addr)static intUtil. size(View view)static voidUtil. writeView(View view, java.io.DataOutput out)Method parameters in org.jgroups.util with type arguments of type View Modifier and Type Method Description static booleanUtil. containsViewId(java.util.Collection<View> views, ViewId vid)static java.util.List<View>Util. detectDifferentViews(java.util.Map<Address,View> map)static java.util.Collection<Address>Util. determineActualMergeCoords(java.util.Map<Address,View> map)Similar toUtil.determineMergeCoords(java.util.Map)but only actual coordinators are counted: an actual coord is when the sender of a view is the first member of that viewstatic java.util.Collection<Address>Util. determineMergeCoords(java.util.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 java.util.Collection<Address>Util. determineMergeParticipants(java.util.Map<Address,View> map)Determines the members which take part in a merge.
-