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 demonstrations of JGroups functionality.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of View in org.jgroups
Subclasses of View in org.jgroupsModifier and TypeClassDescriptionclassA view that is sent as a result of a cluster merge.Fields in org.jgroups declared as ViewModifier and TypeFieldDescriptionprotected View[]MergeView.subgroupsprotected ViewJChannel.viewMethods in org.jgroups that return ViewModifier and TypeMethodDescriptionstatic ViewView.create(Address coord, long id, Collection<Address> members) static ViewJChannel.getView()protected static View[]MergeView.listToArray(List<View> list) JChannel.view()Methods in org.jgroups that return types with arguments of type ViewMethods in org.jgroups with parameters of type ViewModifier and TypeMethodDescriptionintbooleanMergeView.deepEquals(View other) booleanView.deepEquals(View other) static Address[][]Returns the difference between 2 views from and to.View.leftMembers(View one, View two) Returns a list of members which left from view one to twoView.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 booleanReturns true if all views are the same.default voidReceiver.viewAccepted(View new_view) Called when a change in membership has occurred.Method parameters in org.jgroups with type arguments of type ViewModifier and TypeMethodDescriptionprotected static View[]MergeView.listToArray(List<View> list) static booleanView.sameViews(Collection<View> views) Constructor parameters in org.jgroups with type arguments of type View -
Uses of View in org.jgroups.blocks
Fields in org.jgroups.blocks declared as ViewModifier and TypeFieldDescriptionprivate ViewReplCache.viewprotected ViewRequestCorrelator.viewMethods in org.jgroups.blocks with parameters of type ViewModifier and TypeMethodDescription(package private) voidReplicatedTree.notifyViewChange(View v) voidRequestCorrelator.receiveView(View new_view) View received: mark all responses from members that are not in new_view as suspected(package private) voidReplicatedHashMap.sendViewChangeNotifications(View view, List<Address> new_mbrs, List<Address> old_mbrs) 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, List<Address> mbrs_joined, List<Address> mbrs_left) voidReplicatedTree.MyListener.viewChange(View new_view) 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 ViewMethods in org.jgroups.demos with parameters of type ViewModifier and TypeMethodDescription(package private) static StringvoidChat.viewAccepted(View new_view) voidDraw.viewAccepted(View v) voidRelayDemo.viewAccepted(View new_view) voidRelayDemoRpc.viewAccepted(View new_view) void -
Uses of View in org.jgroups.protocols
Fields in org.jgroups.protocols declared as ViewModifier and TypeFieldDescriptionprotected ViewSHARED_LOOPBACK.curr_viewprotected ViewCOUNTER.viewprotected ViewDAISYCHAIN.viewprotected ViewDiscovery.viewprotected ViewEncrypt.viewprotected ViewLocking.viewDeprecated.protected ViewMERGE3.viewprotected ViewSEQUENCER.viewprotected ViewSEQUENCER2.viewprotected ViewSSL_KEY_EXCHANGE.viewprotected ViewSTOMP.viewprotected ViewTP.viewFields in org.jgroups.protocols with type parameters of type ViewMethods in org.jgroups.protocols that return ViewModifier and TypeMethodDescriptionSHARED_LOOPBACK.getView()protected ViewMERGE3.readView(byte[] buffer, int offset, int length) TP.view()Methods in org.jgroups.protocols that return types with arguments of type ViewMethods in org.jgroups.protocols with parameters of type ViewModifier and TypeMethodDescriptionprivate voidSEQUENCER.handleTmpView(View v) private voidSEQUENCER2.handleTmpView(View v) protected voidASYM_ENCRYPT.handleView(View v) voidCENTRAL_LOCK.handleView(View view) Deprecated.voidCENTRAL_LOCK2.handleView(View v) Deprecated.protected voidCOUNTER.handleView(View view) protected voidDAISYCHAIN.handleView(View view) protected voidEncrypt.handleView(View view) protected voidFD_HOST.handleView(View view) protected voidFD_SOCK2.handleView(View v) protected voidFILE_PING.handleView(View new_view, View old_view, boolean coord_changed) protected voidJDBC_PING2.handleView(View new_view, View old_view, boolean coord_changed) protected voidKeyExchange.handleView(View view) protected voidLocking.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) private voidFRAG.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) protected voidSTATS.handleViewChange(View view) static ByteArrayvoidBaseBundler.viewChange(View view) voidBatchBundler.viewChange(View view) default voidBundler.viewChange(View view) LocalTransport.viewChange(View v) voidPerDestinationBundler.viewChange(View view) voidTransferQueueBundler2.viewChange(View view) Method parameters in org.jgroups.protocols with type arguments of type View -
Uses of View in org.jgroups.protocols.pbcast
Subclasses of View in org.jgroups.protocols.pbcastFields in org.jgroups.protocols.pbcast declared as ViewModifier and TypeFieldDescriptionprivate ViewFLUSH.currentViewDeprecated, for removal: This API element is subject to removal in a future version.protected ViewGMS.viewprotected ViewJoinRsp.viewprotected final ViewMergeData.viewprotected ViewNAKACK2.viewprotected ViewSTABLE.viewprotected ViewSTATE_TRANSFER.viewFields in org.jgroups.protocols.pbcast with type parameters of type ViewMethods in org.jgroups.protocols.pbcast that return ViewModifier and TypeMethodDescriptionprotected static ViewGMS.createDeltaView(View current_view, View next_view) protected ViewGMS.createViewFromDeltaView(View current_view, DeltaView delta_view) GMS.getNextView(Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspected_mbrs) Computes the next view.JoinRsp.getView()MergeData.getView()GMS.view()Methods in org.jgroups.protocols.pbcast that return types with arguments of type ViewModifier and TypeMethodDescriptionGMS._readViewAndDigest(byte[] buffer, int offset, int length) GMS.getViewAndDigest()Returns the current view and digest.GMS.readViewAndDigest(byte[] buffer, int offset, int length) Methods in org.jgroups.protocols.pbcast with parameters of type ViewModifier and TypeMethodDescriptionprotected booleanGMS._startFlush(View new_view, int maxAttempts, boolean resumeIfFailed, long randomFloor, long randomCeiling) voidGMS.castViewChangeAndSendJoinRsps(View new_view, Digest digest, Collection<Address> expected_acks, 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, 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.private DigestFLUSH.findHighestSequences(View view) Deprecated, for removal: This API element is subject to removal in a future version.protected static intvoidGmsImpl.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) private booleanClientGmsImpl.installView(View new_view, Digest digest) 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 ByteArrayprotected static DigestDeprecated, for removal: This API element is subject to removal in a future version.Returns a digest which contains, for all members of view, the highest delivered and received seqno of all digestsprivate booleanFLUSH.onViewChange(View view) Deprecated, for removal: This API element is subject to removal in a future version.protected voidMerger.sendMergeResponse(Address sender, View view, Digest digest, MergeId merge_id) Send back a response containing view and digest to sender(package private) booleanGMS.startFlush(View view) (package private) booleanGMS.startFlush(View view, int maxAttempts, long floor, long ceiling) protected static booleanGMS.writeAddresses(View view, Digest digest) Method parameters in org.jgroups.protocols.pbcast with type arguments of type ViewModifier and TypeMethodDescriptionprotected static Map<Address, Collection<Address>> Merger.determineMergeCoords(Map<Address, View> views) Needs to return a map of all subview coordinators and their views (as a collection of members).protected AddressMerger.determineMergeLeader(Map<Address, View> views) Returns the address of the merge leadervoidvoidInvoked upon receiving a MERGE event from the MERGE layer.voidInvoked 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://issues.redhat.com/browse/JGRP-1061).voidConstructors in org.jgroups.protocols.pbcast with parameters of type ViewModifierConstructorDescriptionConstructor parameters in org.jgroups.protocols.pbcast with type arguments of type View -
Uses of View in org.jgroups.protocols.relay
Fields in org.jgroups.protocols.relay declared as ViewModifier and TypeFieldDescriptionprotected ViewBridge.viewprotected ViewRELAY.viewprotected ViewRelayer2.Bridge.viewFields in org.jgroups.protocols.relay with type parameters of type ViewModifier and TypeFieldDescriptionTopology.cacheprotected BiConsumer<String, View> Topology.view_handlerMethods in org.jgroups.protocols.relay that return ViewModifier and TypeMethodDescriptionRELAY.getBridgeView(String cluster_name) protected abstract ViewRelayer.getBridgeView(String cluster_name) protected ViewRelayer2.getBridgeView(String cluster_name) protected ViewRelayer3.getBridgeView(String cluster_name) RELAY.view()Methods in org.jgroups.protocols.relay that return types with arguments of type ViewMethods in org.jgroups.protocols.relay with parameters of type ViewModifier and TypeMethodDescriptionRELAY.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.Returns a map containing the site keys and addresses as valuesabstract voidRELAY.handleView(View v) voidRELAY2.handleView(View view) voidRELAY3.handleView(View view) protected voidCalled when a response has been received.Bridge.removedRoutes(View old_view, View new_view) Returns a list of routes that were in old_view, but are no longer in new_viewvoidBridge.viewAccepted(View new_view) The view contains a list of SiteUUIDs.voidRelayer2.Bridge.viewAccepted(View new_view) The view contains a list of SiteUUIDs.Method parameters in org.jgroups.protocols.relay with type arguments of type ViewModifier and TypeMethodDescriptionTopology.setViewHandler(BiConsumer<String, View> c) Sets a view handler -
Uses of View in org.jgroups.tests
Fields in org.jgroups.tests declared as ViewMethods in org.jgroups.tests that return ViewMethods in org.jgroups.tests with parameters of type ViewModifier and TypeMethodDescription(package private) voidUnicastTestRpc.populateAnycastList(View view) voidFlowControlTest.viewAccepted(View view) voidLargeState.viewAccepted(View new_view) voidMessageDispatcherSpeedTest.viewAccepted(View new_view) voidMessageSendTest.viewAccepted(View view) voidPingPong.viewAccepted(View new_view) voidRoundTripRpc.viewAccepted(View view) voidRpcDispatcherBlocking.viewAccepted(View new_view) voidRpcDispatcherSpeedTest.viewAccepted(View new_view) voidUnicastTest.MyReceiver.viewAccepted(View new_view) voidUnicastTestRpc.viewAccepted(View new_view) -
Uses of View in org.jgroups.tests.perf
Fields in org.jgroups.tests.perf declared as ViewModifier and TypeFieldDescriptionprotected ViewProgrammaticUPerf.viewprotected static ViewProgrammaticUPerf2.viewprotected ViewUPerf.viewMethods in org.jgroups.tests.perf with parameters of type ViewModifier and TypeMethodDescriptionvoidMPerf.viewAccepted(View view) voidMPerfRpc.viewAccepted(View view) voidProgrammaticUPerf.viewAccepted(View new_view) voidProgrammaticUPerf2.viewAccepted(View v) voidUPerf.viewAccepted(View new_view) -
Uses of View in org.jgroups.tests.rt.transports
Fields in org.jgroups.tests.rt.transports declared as ViewMethods in org.jgroups.tests.rt.transports with parameters of type View -
Uses of View in org.jgroups.util
Methods in org.jgroups.util that return ViewMethods in org.jgroups.util with parameters of type ViewModifier and TypeMethodDescriptionstatic intReturns the rank of a member in a given viewstatic booleanUtil.isCoordinator(View view, Address local_addr) static Collection<String> Util.otherSites(View bridge_view, String excluding_site) Returns the sites of the view (all addresses are SiteUUIDs) minus the given site, Example: bridge_view=A:net1,B:net1,X:net2,Y:net2, excluding_site=net1 -> ["net2"]static intvoidMyReceiver.viewAccepted(View new_view) static voidUtil.writeView(View view, DataOutput 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.determineActualMergeCoords(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 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.