Uses of Interface
org.jgroups.Address
Packages that use Address
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.
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of Address in org.jgroups
Subinterfaces of Address in org.jgroupsModifier and TypeInterfaceDescriptioninterfaceRepresents a physical (as opposed to logical) addressClasses in org.jgroups that implement AddressSubinterfaces with type arguments of type Address in org.jgroupsClasses in org.jgroups that implement interfaces with type arguments of type AddressModifier and TypeClassDescriptionclassA view is a local representation of the current membership of a group.Fields in org.jgroups declared as AddressModifier and TypeFieldDescriptionprotected AddressViewId.creatorprotected AddressBaseMessage.destprotected AddressJChannel.local_addrprotected final AddressUnreachableException.memberprotected Address[]View.membersAn array containing all the members of the view.static final AddressGlobal.NULL_ADDRESSprotected AddressBatchMessage.orig_srcprotected AddressBaseMessage.senderFields in org.jgroups with type parameters of type AddressMethods in org.jgroups that return AddressModifier and TypeMethodDescriptionJChannel.address()default AddressMessage.dest()protected AddressJChannel.determineCoordinator()static Address[][]Returns the difference between 2 views from and to.Membership.elementAt(int index) Returns the component at the specified indexprotected AddressJChannel.generateAddress(String name) protected AddressMergeView.get(int index) JChannel.getAddress()View.getCoord()View.getCreator()Returns the creator of this view if this view was created with the empty constructur, null will be returnedViewId.getCreator()Returns the address of the member that issued this viewBaseMessage.getDest()Message.getDest()Returns the destination address to send the message to.Membership.getFirst()Address[]View.getMembersRaw()Returns the underlying array.Returns the members next to mbr.BatchMessage.getOrigSender()Membership.getPrevious(Address mbr) Returns the members to the left of mbrBaseMessage.getSrc()Message.getSrc()Returns the address of the senderMembership.nextCoord()default AddressMessage.src()Methods in org.jgroups that return types with arguments of type AddressModifier and TypeMethodDescriptionMembership.getMembers()Returns a copy (clone) of the members in this membership.View.getMembers()Returns the member listView.iterator()View.leftMembers(View one, View two) Returns a list of members which left from view one to twoView.newMembers(View old, View new_view) Methods in org.jgroups with parameters of type AddressModifier and TypeMethodDescriptionAdds a new member to this membership.intJoins the cluster and gets the state from a specified state provider.booleanReturns true if the provided member belongs to this membershipbooleanView.containsMember(Address mbr) Returns true if this view contains a certain memberbooleanView.containsMembers(Address... mbrs) Returns true if all mbrs are elements of this view, false otherwisestatic ViewView.create(Address coord, long id, Collection<Address> members) static Viewdefault Messageprotected intReturns the members next to mbr.Membership.getPrevious(Address mbr) Returns the members to the left of mbrRetrieves the full state from the target member.
The state transfer is initiated by invoking getState() on this channel.booleanstatic StringRemoves a member from the membership.Sends a message.Sends a message to a destination.Helper method to create a Message with given parameters and invokeJChannel.send(Message).Sets the destination address to send the message to.UpHandler.setLocalAddress(Address a) BatchMessage.setOrigSender(Address s) Sets the address of the sender of this messageintBaseMessage.sizeNoAddrs(Address src) intMessage.sizeNoAddrs(Address src) Returns the exact size of the marshalled message without destination (and possibly source) addressdefault MessagevoidBaseMessage.writeToNoAddrs(Address src, DataOutput out) voidMessage.writeToNoAddrs(Address src, DataOutput out) Writes the message to an output stream excluding the destination (and possibly source) addressMethod parameters in org.jgroups with type arguments of type AddressModifier and TypeMethodDescriptionMembership.add(Collection<Address> v) Adds a list of members to this membershipstatic ViewView.create(Address coord, long id, Collection<Address> members) Membership.merge(Collection<Address> new_mems, Collection<Address> suspects) Merges membership with the new members and removes suspects.Membership.remove(Collection<Address> v) Removes all the members contained in v from this membershipMembership.retainAll(Collection<Address> v) Membership.set(Collection<Address> v) Clears the membership and adds all members of v This method will clear out all the old members of this membership by invoking theClearmethod.Constructors in org.jgroups with parameters of type AddressModifierConstructorDescriptionBaseMessage(Address dest) Constructs a message given a destination addressBatchMessage(Address dest, int capacity) BatchMessage(Address dest, Address src, Message[] msgs, int index) BytesMessage(Address dest) Constructs a message given a destination addressBytesMessage(Address dest, byte[] array) Constructs a message given a destination and source address and the payload byte arrayBytesMessage(Address dest, byte[] array, int offset, int length) Constructs a message.BytesMessage(Address dest, Object obj) Constructs a message given a destination and source address and the payload objectBytesMessage(Address dest, ByteArray array) CompositeMessage(Address dest) CompositeMessage(Address dest, Collection<Message> messages) CompositeMessage(Address dest, Message... messages) EmptyMessage(Address dest) LongMessage(Address dest, long v) Membership(Address... initial_members) Creates a new viewNioMessage(Address dest) Constructs a message given a destination addressNioMessage(Address dest, ByteBuffer buf) Constructs a message given a destination and source address and the payload byte bufferObjectMessage(Address dest) Constructs a message given a destination addressObjectMessage(Address dest, Object obj) Constructs a message given a destination address and the payload objectObjectMessage(Address dest, SizeStreamable obj) Constructs a message given a destination address and the payload objectUnreachableException(String msg, Address member) UnreachableException(Address member) Creates a new viewCreates a new view.Creates a ViewID with the coordinator address and a Lamport timestamp of 0.Creates a ViewID with the coordinator address and the given Lamport timestamp.Constructor parameters in org.jgroups with type arguments of type AddressModifierConstructorDescriptionMembership(Collection<Address> initial_members) Creates a Membership with a given initial members.Creates a new viewCreates a new merge viewCreates a new viewView(ViewId view_id, Collection<Address> members) Creates a new view -
Uses of Address in org.jgroups.admin
Fields in org.jgroups.admin with type parameters of type AddressMethods in org.jgroups.admin that return AddressModifier and TypeMethodDescriptionTwoPhaseCommit.dest()Returns the value of thedestrecord component.protected static AddressPartitionHandler.getByValue(Map<Address, String> cache, String name) Methods in org.jgroups.admin that return types with arguments of type AddressModifier and TypeMethodDescriptionPartitionHandler.getMembers(String view) TwoPhaseCommit.targets()Returns the value of thetargetsrecord component.Methods in org.jgroups.admin with parameters of type AddressModifier and TypeMethodDescriptionbooleanSwitchAdminHandler.handleConnect(String s, Address sender) Connects the channel and waits for expected_members.booleanSwitchAdminHandler.handleCreateNewStack(String s, Address sender) Gets the version and config.voidTwoPhaseCommit.handleResponse(Address sender, String rsp) voidvoidprotected voidAdmin.sendAdminRequest(Address dest, String key, String args) ProbeAdminHandler.sendProbeRequest(Address dest, String cmd) Sends a probe command to all members of the current cluster.Method parameters in org.jgroups.admin with type arguments of type AddressModifier and TypeMethodDescriptionprotected static AddressPartitionHandler.getByValue(Map<Address, String> cache, String name) Constructors in org.jgroups.admin with parameters of type AddressModifierConstructorDescriptionTwoPhaseCommit(String key, String name, AdminHandler admin, Address dest, List<Address> targets, String prepare, String rollback, String commit, long timeout) TwoPhaseCommit(String key, String name, AdminHandler admin, Address dest, List<Address> targets, String prepare, String rollback, String commit, long timeout, ResponseCollector<String> rsps) Creates an instance of aTwoPhaseCommitrecord class.Constructor parameters in org.jgroups.admin with type arguments of type AddressModifierConstructorDescriptionTwoPhaseCommit(String key, String name, AdminHandler admin, Address dest, List<Address> targets, String prepare, String rollback, String commit, long timeout) TwoPhaseCommit(String key, String name, AdminHandler admin, Address dest, List<Address> targets, String prepare, String rollback, String commit, long timeout, ResponseCollector<String> rsps) Creates an instance of aTwoPhaseCommitrecord class. -
Uses of Address in org.jgroups.blocks
Fields in org.jgroups.blocks declared as AddressModifier and TypeFieldDescriptionAddress[]RequestCorrelator.MultiDestinationHeader.exclusion_listContains a list of members who should not receive the request (others will drop).protected Address[]RequestOptions.exclusion_listA list of members which should be excluded from a callprotected AddressMessageDispatcher.local_addrprotected AddressRequestCorrelator.local_addrThe address of this group memberprotected final AddressUnicastRequest.targetFields in org.jgroups.blocks with type parameters of type AddressMethods in org.jgroups.blocks that return AddressModifier and TypeMethodDescriptionAddress[]RequestOptions.exclusionList()Address[]RequestOptions.getExclusionList()ReplCache.getLocalAddress()ReplicatedHashMap.getLocalAddress()ReplicatedTree.getLocalAddress()RequestCorrelator.getLocalAddress()Methods in org.jgroups.blocks that return types with arguments of type AddressModifier and TypeMethodDescriptionReplicatedTree.getMembers()Function that, given a key and a replication count, returns replication_count number of different addresses of nodes.Methods in org.jgroups.blocks with parameters of type AddressModifier and TypeMethodDescription<T> TRpcDispatcher.callRemoteMethod(Address dest, String meth, Object[] args, Class<?>[] types, RequestOptions opts) Invokes a method in a cluster member and - if blocking - returns the result<T> TRpcDispatcher.callRemoteMethod(Address dest, MethodCall call, RequestOptions options) Invokes a method in a cluster member and - if blocking - returns the result<T> CompletableFuture<T> RpcDispatcher.callRemoteMethodWithFuture(Address dest, MethodCall call, RequestOptions opts) Invokes a method in a cluster member and - if blocking - returns the resultprotected static RequestCorrelatorMessageDispatcher.createRequestCorrelator(Protocol transport, RequestHandler handler, Address local_addr) RequestOptions.exclusionList(Address... mbrs) booleanRspFilter.isAcceptable(Object response, Address sender) Determines whether a response from a given sender should be added to the response list of the requestvoidGroupRequest.memberUnreachable(Address mbr) abstract voidRequest.memberUnreachable(Address mbr) voidUnicastRequest.memberUnreachable(Address mbr) voidGroupRequest.receiveResponse(Object response_value, Address sender, boolean is_exception) Callback (called by RequestCorrelator or Transport).abstract voidRequest.receiveResponse(Object response_value, Address sender, boolean is_exception) voidUnicastRequest.receiveResponse(Object response_value, Address sender, boolean is_exception) Callback (called by RequestCorrelator or Transport).<T extends Protocol>
TMessageDispatcher.ProtocolAdapter.setAddress(Address addr) MessageDispatcher.ProtocolAdapter.setLocalAddress(Address a) RequestCorrelator.setLocalAddress(Address a) voidRequestCorrelator.setMemberUnreachable(Address mbr) protected booleanGroupRequest.setSuspected(Address mbr) protected booleanRequestCorrelator.skip(RequestCorrelator.Header hdr, Address sender) Method parameters in org.jgroups.blocks with type arguments of type AddressModifier and TypeMethodDescription<T> RspList<T> RpcDispatcher.callRemoteMethods(Collection<Address> dests, String method_name, Object[] args, Class<?>[] types, RequestOptions options) Invokes a method in all members and expects responses from members contained in dests (or all members if dests is null).<T> RspList<T> RpcDispatcher.callRemoteMethods(Collection<Address> dests, MethodCall method_call, RequestOptions opts) Invokes a method in all members and expects responses from members contained in dests (or all members if dests is null).<T> CompletableFuture<RspList<T>> RpcDispatcher.callRemoteMethodsWithFuture(Collection<Address> dests, MethodCall call, RequestOptions options) Invokes a method in all members and expects responses from members contained in dests (or all members if dests is null).protected <T> GroupRequest<T> MessageDispatcher.cast(Collection<Address> dests, Message msg, RequestOptions options, boolean block_for_results) <T> RspList<T> MessageDispatcher.castMessage(Collection<Address> dests, Message msg, RequestOptions opts) Sends a message to all members and expects responses from members in dests (if non-null).<T> CompletableFuture<RspList<T>> MessageDispatcher.castMessageWithFuture(Collection<Address> dests, Message msg, RequestOptions opts) Sends a message to all members and expects responses from members in dests (if non-null).voidReplCache.ConsistentHashFunction.installNodes(List<Address> new_nodes) voidReplCache.HashFunction.installNodes(List<Address> nodes) When the topology changes, this method will be called.protected voidRequestCorrelator.sendAnycastRequest(Message req, Collection<Address> dest_mbrs) <T> voidRequestCorrelator.sendMulticastRequest(Collection<Address> dest_mbrs, Message msg, Request<T> req, RequestOptions opts) Sends a request to a group.protected voidGroupRequest.sendRequest(Message msg, Collection<Address> targetMembers) protected <X extends MessageDispatcher>
XMessageDispatcher.setMembers(List<Address> new_mbrs) voidReplicatedHashMap.Notification.viewChange(View view, List<Address> mbrs_joined, List<Address> mbrs_left) Constructors in org.jgroups.blocks with parameters of type AddressModifierConstructorDescriptionMultiDestinationHeader(byte type, long id, short corr_id, Address[] exclusion_list) RequestCorrelator(Protocol down_prot, RequestHandler handler, Address local_addr) Constructor.UnicastRequest(RequestCorrelator corr, Address target, RequestOptions options) Constructor parameters in org.jgroups.blocks with type arguments of type AddressModifierConstructorDescriptionGroupRequest(RequestCorrelator corr, Collection<Address> targets, RequestOptions options) -
Uses of Address in org.jgroups.blocks.cs
Fields in org.jgroups.blocks.cs declared as AddressModifier and TypeFieldDescriptionprotected AddressBaseServer.local_addrprotected AddressConnection.peer_addrprotected AddressNioClient.remote_addrprotected AddressTcpClient.remote_addrFields in org.jgroups.blocks.cs with type parameters of type AddressModifier and TypeFieldDescriptionprotected final Map<Address, Connection> BaseServer.connsBaseServer.locksMethods in org.jgroups.blocks.cs that return AddressModifier and TypeMethodDescriptionBaseServer.localAddress()protected static AddressBaseServer.localAddress(InetAddress bind_addr, int local_port, InetAddress external_addr, int external_port) Client.localAddress()abstract AddressConnection.localAddress()NioConnection.localAddress()TcpConnection.localAddress()Connection.peerAddress()NioConnection.PeerAddressReader.readPeerAddress(SocketChannel ch) protected AddressTcpConnection.readPeerAddress(Socket client_sock) Reads the peer's address.Client.remoteAddress()NioClient.remoteAddress()TcpClient.remoteAddress()Methods in org.jgroups.blocks.cs with parameters of type AddressModifier and TypeMethodDescriptionbooleanBaseServer.closeConnection(Address addr) booleanBaseServer.closeConnection(Address addr, boolean notify) abstract voidvoidprotected voidvoidprotected voidbooleanBaseServer.connectionEstablishedTo(Address address) protected abstract ConnectionBaseServer.createConnection(Address dest) Creates a new connection object to target dest, but doesn't yet connect itprotected NioConnectionNioBaseServer.createConnection(Address dest) protected TcpConnectionTcpBaseServer.createConnection(Address dest) voidBaseServer.getConnection(Address dest) Creates a new connection to dest, or returns an existing oneprotected LockvoidBaseServer.handleIncomingConnection(Address peer_addr, Connection conn) voidBaseServer.handleOutgoingConnection(Address dest, Connection conn) protected voidPerforms the TLS handshake, bounded bytimeoutms, which is what is left ofsock_conn_timeoutafter the TCP connect, so that the connection setup as a whole is bounded by it.booleanBaseServer.hasConnection(Address address) voidCalled by aConnectionimplementation when a message has been received.voidvoidBaseServer.receive(Address sender, ByteBuffer buf) Called by aConnectionimplementation when a message has been receivedvoidDelivers a message from a given sender to the applicationdefault voidReceive data from the given senderdefault voidReceiver.receive(Address sender, ByteBuffer buf) Delivers a message from a given sender to the applicationvoidvoidBaseServer.removeConnectionIfPresent(Address address, Connection conn) Only removes the connection if conns.get(address) == connvoidBaseServer.replaceConnection(Address address, Connection conn) voidvoidBaseServer.send(Address dest, ByteBuffer buf) voidvoidNioClient.send(Address dest, ByteBuffer buf) voidvoidTcpClient.send(Address dest, ByteBuffer buf) protected voidNioConnection.sendLocalAddress(Address local_addr) protected voidTcpConnection.sendLocalAddress(Address local_addr) Send the cookie first, then our port number.protected <T> booleanBaseServer.validateArgs(Address dest, T buffer) Method parameters in org.jgroups.blocks.cs with type arguments of type AddressModifier and TypeMethodDescriptionvoidBaseServer.forAllConnections(BiConsumer<Address, Connection> c) voidBaseServer.retainAll(Collection<Address> current_mbrs) voidBaseServer.retainAll(Collection<Address> current_mbrs, Predicate<PhysicalAddress> is_mbr) Removes all connections which are not in current_mbrsConstructors in org.jgroups.blocks.cs with parameters of type AddressModifierConstructorDescriptionNioConnection(Address peer_addr, NioBaseServer server) Creates a connection stub and binds it, useNioConnection.connect(Address)to connectTcpConnection(Address peer_addr, TcpBaseServer server) Creates a connection to a remote peer, useTcpConnection.connect(Address)to connectTcpConnectionNonBlocking(Address peer_addr, TcpBaseServer server, int max_size) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Address in org.jgroups.demos
Methods in org.jgroups.demos with parameters of type AddressModifier and TypeMethodDescriptionvoidvoidvoidvoidPubClient.receive(Address sender, ByteBuffer buf) voidvoidvoidPubServer.receive(Address sender, ByteBuffer buf) Method parameters in org.jgroups.demos with type arguments of type Address -
Uses of Address in org.jgroups.fork
Methods in org.jgroups.fork with parameters of type AddressModifier and TypeMethodDescriptionprotected ForkChannelForkChannel.setLocalAddress(Address local_addr) voidForkProtocolStack.setLocalAddress(Address addr) -
Uses of Address in org.jgroups.protocols
Classes in org.jgroups.protocols that implement interfaces with type arguments of type AddressModifier and TypeClassDescriptionclassBase class for reliable unicast protocolsclassReliable unicast protocol using a combination of positive and negative acks.Fields in org.jgroups.protocols declared as AddressModifier and TypeFieldDescriptionprotected AddressCOUNTER.coordThe address of the cluster coordinator.protected AddressSEQUENCER.coordprotected AddressSEQUENCER2.coordprotected AddressDiscovery.current_coordprotected AddressFD_SOCK2.PingDest.destprotected AddressASYM_ENCRYPT.key_server_addrprotected AddressPerDestinationBundler.local_addrprotected AddressPDC.Mapping.logical_addrprotected AddressFD_SOCK.FdHeader.mbrprotected final AddressSEQUENCER.Flusher.new_coordprotected AddressDAISYCHAIN.nextprotected static final AddressPerDestinationBundler.NULLprotected static final AddressSTATS.NULL_DESTprotected AddressDAISYCHAIN.DaisyHeader.original_senderprotected AddressPDC.Mapping.physical_addrprotected AddressFD_SOCK.ping_destprotected AddressNakAckHeader.senderprotected AddressPingData.senderprotected AddressEncryptHeader.serverprotected AddressFD_SOCK2.FdHeader.srvprotected final AddressRSVP.Entry.targetFields in org.jgroups.protocols with type parameters of type AddressModifier and TypeFieldDescriptionCOUNTER.backup_coordsBackup coordinators.protected LazyRemovalCache<Address, IpAddress> FD_SOCK.cacheCache of member addresses and their ServerSocket addressesprotected final ConcurrentMap<Address, PhysicalAddress> PDC.cacheprotected AgeOutCache<Address> ReliableUnicast.cacheprotected AgeOutCache<Address> UNICAST3.cacheprotected final Map<Address, MessageBatch> ReliableMulticast.cached_batchesprotected final Map<Address, MessageBatch> ReliableUnicast.cached_batchesTo cache batches for sending messages up the stack (https://issues.redhat.com/browse/JGRP-2841).protected final Map<Address, MessageBatch> UNICAST3.cached_batchesTo cache batches for sending messages up the stack (https://issues.redhat.com/browse/JGRP-2841)Discovery.DiscoveryCacheDisseminationTask.curr_mbrsprotected final ConcurrentMap<Address, BoundedHashMap<Long, Long>> SEQUENCER.delivery_tableprotected final Map<Address, PerDestinationBundler.SendBuffer> PerDestinationBundler.destsSTOMP.endpointsprotected final ConcurrentMap<Address, ConcurrentMap<Long, FRAG2.FragEntry>> FRAG2.fragment_listprotected final ConcurrentMap<Address, ConcurrentMap<Integer, FRAG3.FragEntry>> FRAG3.fragment_listBaseBundler.FUNCprotected static final Function<AsciiString, Map<Address, SHARED_LOOPBACK>> SHARED_LOOPBACK.FUNCSTATS.FUNCFD_SOCK.get_cache_promiseUsed to rendezvous on GET_CACHE and GET_CACHE_RSPBARRIER.holesprotected final Map<InetAddress, List<Address>> FD_HOST.hostsMap of hosts and their cluster members, updated on view changes.DISCARD.ignoredMembersprotected ExpiryCache<Address> ReliableUnicast.last_sync_sentKeep track of when a SEND_FIRST_SEQNO message was sent to a given senderprotected ExpiryCache<Address> UNICAST3.last_sync_sentKeep track of when a SEND_FIRST_SEQNO message was sent to a given senderDiscovery.DiscoveryCacheDisseminationTask.left_mbrsprotected LazyRemovalCache<Address, PhysicalAddress> TPConfig.logical_addr_cacheMaintains mappings between logical and physical addresses.FD_SOCK.FdHeader.mbrsprotected Collection<Address> FD_SOCK2.FdHeader.mbrsprotected Collection<? extends Address> PingData.mbrsBARRIER.mcast_queueBaseBundler.membersprotected final Collection<Address> DISCARD.membersFailureDetection.membersFD_HOST.membersFD_SOCK.membersFRAG.membersFRAG2.membersFRAG3.membersReliableMulticast.membersReliableUnicast.membersRSVP.membersTPConfig.membersUNICAST3.membersprotected Map<Address, BATCH2.Buffer> BATCH2.msgMapBaseBundler.msgsKeys are destinations, values are lists of MessagesDiscovery.DiscoveryCacheDisseminationTask.new_mbrsMAKE_BATCH.oob_map_mcastMAKE_BATCH.oob_map_ucastFD_SOCK.pingable_mbrsprotected static final LazyRemovalCache.Printable<Address, LazyRemovalCache.Entry<PhysicalAddress>> TPConfig.print_functionASYM_ENCRYPT.pub_mapFlowControl.receivedKeeps track of credits per member at the receiver.protected final ConcurrentMap<Address, MsgStats> STATS.receivedMaintains stats per receiverprotected final Map<Address, ReliableUnicast.ReceiverEntry> ReliableUnicast.recv_tableprotected final Map<Address, UNICAST3.ReceiverEntry> UNICAST3.recv_tableMAKE_BATCH.reg_map_mcastMAKE_BATCH.reg_map_ucastprotected static final Map<AsciiString, Map<Address, SHARED_LOOPBACK>> SHARED_LOOPBACK.routing_tableMap of cluster names and address-protocol mappings.protected final Map<Address, ReliableUnicast.SenderEntry> ReliableUnicast.send_tableprotected final Map<Address, UNICAST3.SenderEntry> UNICAST3.send_tableprotected final ConcurrentMap<Address, MsgStats> STATS.sentMaintains stats per target destinationUFC.sentMap: keys are members, values are credits left.protected static final ThreadLocal<Address> ASYM_ENCRYPT.srv_addrReliableMulticast.stable_xmit_mapprotected SuppressLog<Address> BaseBundler.suppress_logprotected SuppressLog<Address> TPConfig.suppress_log_different_clusterLog to suppress identical warnings for messages from members in different clustersprotected SuppressLog<Address> TPConfig.suppress_log_different_versionLog to suppress identical warnings for messages from members with different (incompatible) versionsprotected SuppressLog<Address> ReliableMulticast.suppress_log_non_memberLog to suppress identical warnings for messages from non-membersprotected final BoundedList<Tuple<Address, Long>> FailureDetection.suspect_historyFailureDetection.suspected_mbrsFD_HOST.suspected_mbrsFD_SOCK.suspected_mbrsFD_SOCK.BroadcastTask.suspectsFD_SOCK2.BroadcastTask.suspectsprotected final ConcurrentMap<Address, Long> FD_ALL.timestampsprotected final Map<Address, AtomicBoolean> FD_ALL2.timestampsprotected final Map<Address, FD_ALL3.Bitmap> FD_ALL3.timestampsBARRIER.ucast_queueMERGE3.viewsprotected ExpiryCache<Address> TPConfig.who_has_cacheCache keeping track of WHO_HAS requests for physical addresses (given a logical address) and expiring them after who_has_cache_timeout msprotected final Map<Address, ReliableMulticast.Entry> ReliableMulticast.xmit_tableMap to store sent and received messages (keyed by sender)ReliableMulticast.xmit_task_mapUsed by the retransmit task to keep the last retransmitted seqno per sender (https://issues.redhat.com/browse/JGRP-1539)ReliableUnicast.xmit_task_mapUsed by the retransmit task to keep the last retransmitted seqno per member (applicable only for received messages (ReceiverEntry)): https://issues.redhat.com/browse/JGRP-1539UNICAST3.xmit_task_mapUsed by the retransmit task to keep the last retransmitted seqno per member (applicable only for received messages (ReceiverEntry)): https://issues.redhat.com/browse/JGRP-1539Methods in org.jgroups.protocols that return AddressModifier and TypeMethodDescriptionprotected AddressFD_SOCK2.PingDest.dest()protected AddressFD_SOCK.determineCoordinator()protected AddressFD_SOCK.determinePingDest()PingData.getAddress()protected static AddressASYM_ENCRYPT.getCachedServerAddress()SEQUENCER.getCoordinator()SEQUENCER2.getCoordinator()PDC.Mapping.getLogicalAddr()DAISYCHAIN.DaisyHeader.getOriginalSender()PDC.Mapping.getPhysicalAddr()NakAckHeader.getSender()PingData.getSender()DH_KEY_EXCHANGE.getServerLocation()abstract AddressKeyExchange.getServerLocation()Returns the address of the server, e.g.SSL_KEY_EXCHANGE.getServerLocation()ASYM_ENCRYPT.keyServerAddr()EncryptHeader.server()FD_SOCK2.Request.suspect()Returns the value of thesuspectrecord component.VERIFY_SUSPECT.Entry.suspect()Returns the value of thesuspectrecord component.VERIFY_SUSPECT2.Entry.suspect()Returns the value of thesuspectrecord component.Methods in org.jgroups.protocols that return types with arguments of type AddressModifier and TypeMethodDescriptionMERGE3.convertViews()ReliableUnicast.getAgeOutCache()UNICAST3.getAgeOutCache()TPConfig.getLogicalAddressCache()FailureDetection.getTimestamps()FD_ALL.getTimestamps()FD_ALL2.getTimestamps()FD_ALL3.getTimestamps()Collection<? extends Address> PingData.mbrs()FlowControl.received()UFC.sent()FD_SOCK.unmarshal(byte[] buffer, int offset, int length) ASYM_ENCRYPT.unserializeKeys(Address sender, byte[] buf, int offset, int length) Methods in org.jgroups.protocols with parameters of type AddressModifier and TypeMethodDescriptionReliableUnicast._getReceiverEntry(Address sender, long seqno, boolean first, short conn_id, Address real_dest) ReliableUnicast._getSenderEntry(Address dest) protected voidvoidCOUNTER.ReconciliationTask.add(COUNTER.ReconcileResponse rsp, Address sender) protected voidLOCAL_PING.addAddressToLocalCache(Address addr, PhysicalAddress phys_addr) protected booleanDiscovery.addDiscoveryResponseToCaches(Address mbr, String logical_name, PhysicalAddress physical_addr) DISCARD.addIgnoredMembers(Address... senders) DISCARD.addIgnoreMember(Address sender) Messages from this sender will get droppedprotected voidMERGE3.addInfo(Address sender, ViewId view_id, String logical_name, PhysicalAddress physical_addr) Adds received INFO to views hashmapprotected MessageASYM_ENCRYPT.addKeysToMessage(Message msg, boolean copy, boolean add_secret_keys, Address serialize_only) Adds the public and/or encrypted shared keys to the payload of msg.protected voidReliableUnicast.addMessage(ReliableUnicast.ReceiverEntry entry, Address sender, long seqno, Message msg) protected voidUNICAST3.addMessage(UNICAST3.ReceiverEntry entry, Address sender, long seqno, Message msg) protected ASYM_ENCRYPT.ProcessingASYM_ENCRYPT.addMetadata(Message msg, boolean add_secret_keys, Address include_secret_key_only_for, boolean attach_fetch_key_header) booleanTP.addPhysicalAddressToCache(Address logical_addr, PhysicalAddress physical_addr) protected booleanTP.addPhysicalAddressToCache(Address logical_addr, PhysicalAddress physical_addr, boolean overwrite) protected voidReliableUnicast.addQueuedMessages(Address sender, ReliableUnicast.ReceiverEntry entry, Collection<Message> queued_msgs) protected voidUNICAST3.addQueuedMessages(Address sender, UNICAST3.ReceiverEntry entry, Collection<Message> queued_msgs) protected static StringDiscovery.addressAsString(Address address) protected static StringPDC.addressAsString(Address address) protected static StringFILE_PING.addressToFilename(Address mbr) protected voidFD_SOCK.BroadcastTask.addSuspectedMember(Address mbr) Adds a suspected member.protected longFlowControl.adjustCredit(Map<Address, Credit> map, Address sender, int length) Check whether sender has enough credits left.protected voidprotected voidFD_SOCK.broadcastSuspectMessage(Address suspected_mbr) Sends a SUSPECT message to all group members.protected voidFD_SOCK.broadcastUnuspectMessage(Address mbr) protected voidFD_SOCK2.broadcastUnuspectMessage(Address mbr) protected static voidASYM_ENCRYPT.cacheServerAddress(Address srv) protected booleanSEQUENCER.canDeliver(Address sender, long seqno) Checks if seqno has already been received from sender.voidFRAG2.clearFragmentsFor(Address mbr) voidFRAG3.clearFragmentsFor(Address mbr) voidReliableUnicast.closeConnection(Address mbr) Removes and resets from connection table (which is already locked).voidUNICAST3.closeConnection(Address mbr) Removes and resets from connection table (which is already locked).voidReliableUnicast.closeReceiveConnection(Address mbr) voidUNICAST3.closeReceiveConnection(Address mbr) voidReliableUnicast.closeSendConnection(Address mbr) voidUNICAST3.closeSendConnection(Address mbr) protected ReliableUnicast.ReceiverEntryReliableUnicast.compareConnIds(short other, short mine, boolean first, ReliableUnicast.ReceiverEntry e, Address sender, long seqno, Address real_dest) protected booleanFD_SOCK2.connectTo(Address new_ping_dest, Membership mbrs) protected booleanprotected voidFD_SOCK2.connectToNextPingDest(Address already_suspect) protected booleanprotected ReliableUnicast.ReceiverEntryReliableUnicast.createReceiverEntry(Address sender, long seqno, short conn_id, Address dest) protected UNICAST3.ReceiverEntryUNICAST3.createReceiverEntry(Address sender, long seqno, short conn_id, Address dest) protected SSLSocketSSL_KEY_EXCHANGE.createSocketTo(Address target) static NakAckHeaderNakAckHeader.createXmitRequestHeader(Address orginal_sender) protected voidprotected voidJDBC_PING2.delete(Connection conn, String clustername, Address addressToDelete) protected voidReliableMulticast.deliver(Message msg, Address sender, long seqno, ReliableMulticast.Entry entry, String error_msg) protected voidReliableUnicast.deliverBatch(MessageBatch batch, ReliableUnicast.Entry entry, Address original_dest) protected voidReliableUnicast.deliverMessage(Message msg, Address sender, long seqno) protected voidUNICAST3.deliverMessage(Message msg, Address sender, long seqno) protected MessageSERIALIZE.deserialize(Address sender, byte[] buf, int offset, int length) protected FD_SOCK2.PingDestprotected booleanFD_SOCK2.PingDest.destChanged(Address a) voidDiscovery.discoveryRequestReceived(Address sender, String logical_name, PhysicalAddress physical_addr) voidTCPPING.discoveryRequestReceived(Address sender, String logical_name, PhysicalAddress physical_addr) voidTP.doSend(ByteBuffer buf, Address dest) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidCalled by AgeOutCache, to removed expired connectionsvoidCalled by AgeOutCache, to removed expired connectionsprotected IpAddressFD_SOCK.fetchPingAddress(Address mbr) Attempts to obtain the ping_addr first from the cache, then by unicasting q request tombr, then by multicasting a request to all members.voidDH_KEY_EXCHANGE.fetchSecretKeyFrom(Address target) abstract voidKeyExchange.fetchSecretKeyFrom(Address target) Needs to fetch the secret key from a given destination (usually the key server).voidSSL_KEY_EXCHANGE.fetchSecretKeyFrom(Address target) protected voidReturns the receive window for sender; only used for testing.protected ReliableMulticast.Entryprotected InetAddressFD_HOST.getHostFor(Address mbr) longNAKACK4.getNumUnackedMessages(Address dest) intReliableUnicast.getNumUnackedMessages(Address dest) intUNICAST3.getNumUnackedMessages(Address dest) protected PhysicalAddressFD_HOST.getPhysicalAddress(Address logical_addr) FD_SOCK2.getPhysicalAddresses(Address a) Returns the physical addresses for in range [a+offset..a+offset+port_rangeTP.getPhysicalAddressFromCache(Address logical_addr) longFlowControl.getReceiverCreditsFor(Address mbr) protected ReliableUnicast.ReceiverEntryReliableUnicast.getReceiverEntry(Address sender, long seqno, boolean first, short conn_id, Address real_dest) protected UNICAST3.ReceiverEntryUNICAST3.getReceiverEntry(Address sender, long seqno, boolean first, short conn_id, Address dest) longUFC.getSenderCreditsFor(Address mbr) protected ReliableUnicast.SenderEntryReliableUnicast.getSenderEntry(Address dst) protected UNICAST3.SenderEntryUNICAST3.getSenderEntry(Address dst) UNICAST3.getSendWindow(Address target) Used for testing only!protected voidDH_KEY_EXCHANGE.handle(DH_KEY_EXCHANGE.DhHeader hdr, Address sender) protected ObjectFD_SOCK2.handle(FD_SOCK2.FdHeader hdr, Address sender) protected voidprotected voidprotected voidReliableUnicast.handleAckReceived(Address sender, long seqno, short conn_id, int timestamp) Add the ACK to hashtable.sender.sent_msgsprotected voidUNICAST3.handleAckReceived(Address sender, long seqno, short conn_id, int timestamp) Add the ACK to hashtable.sender.sent_msgsprotected voidReliableUnicast.handleBatchReceived(ReliableUnicast.ReceiverEntry entry, Address sender, List<LongTuple<Message>> msgs, boolean oob, Address original_dest) protected voidUNICAST3.handleBatchReceived(UNICAST3.ReceiverEntry entry, Address sender, List<LongTuple<Message>> msgs, boolean oob, Address original_dest) protected abstract voidFlowControl.handleCredit(Address sender, long increase) protected voidMFC.handleCredit(Address sender, long increase) protected voidUFC.handleCredit(Address sender, long increase) protected voidFlowControl.handleCreditRequest(Map<Address, Credit> map, Address sender, long requested_credits) protected voidReliableUnicast.handleDataReceived(Address sender, long seqno, short conn_id, boolean first, Message msg) Check whether the hashtable contains an entry e forsender(create if not).protected voidUNICAST3.handleDataReceived(Address sender, long seqno, short conn_id, boolean first, Message msg) Check whether the hashtable contains an entry e forsender(create if not).protected voidReliableUnicast.handleDataReceivedFromSelf(Address sender, long seqno, Message msg) Called when the sender of a message is the local member.protected voidUNICAST3.handleDataReceivedFromSelf(Address sender, long seqno, Message msg) Called when the sender of a message is the local member.protected voidDiscovery.handleDiscoveryResponse(List<PingData> data, Address sender) protected voidDiscovery.handleDiscoveryResponse(PingData data, Address sender) protected voidReliableMulticast.handleHighestSeqno(Address sender, long seqno) Compares the sender's highest seqno with my highest seqno: if the sender's is higher, ask sender for retransmissionprotected voidReliableUnicast.handleResendingOfFirstMessage(Address sender, int timestamp) We need to resend the first message with our conn_idprotected voidUNICAST3.handleResendingOfFirstMessage(Address sender, int timestamp) We need to resend the first message with our conn_idprotected voidCOUNTER.handleResponse(org.jgroups.protocols.COUNTER.Response rsp, Address sender) protected voidRSVP.handleResponse(Address member, short id) protected voidDH_KEY_EXCHANGE.handleSecretKeyRequest(PublicKey dh_public_key, Address sender) protected voidDH_KEY_EXCHANGE.handleSecretKeyResponse(PublicKey dh_public_key, byte[] encrypted_secret_key, byte[] version, Address sender) protected voidReliableUnicast.handleUpEvent(Address sender, Message msg, UnicastHeader hdr) protected voidUNICAST3.handleUpEvent(Address sender, Message msg, UnicastHeader3 hdr) protected voidReliableMulticast.handleXmitReq(Address xmit_requester, SeqnoList missing_msgs, Address original_sender) Retransmits messsages first_seqno to last_seqno from original_sender from xmit_table to xmit_requester, called when XMIT_REQ is received.protected voidReliableUnicast.handleXmitRequest(Address sender, SeqnoList missing) protected voidUNICAST3.handleXmitRequest(Address sender, SeqnoList missing) booleanReliableUnicast.hasSendConnectionTo(Address dest) Used for testing onlybooleanUNICAST3.hasSendConnectionTo(Address dest) Used for testing onlyprotected voidASYM_ENCRYPT.installPublicKeys(Address sender, byte[] buf, int offset, int length) protected voidASYM_ENCRYPT.installSharedGroupKey(Address sender, SecretKey key, byte[] version) protected booleanprotected booleanprotected booleanprotected booleanbooleanLocalTransport.isLocalMember(Address addr) Returns true if addr is a local member, false otherwiseprotected booleanReliableUnicast.isLocalSiteMaster(Address dest) protected booleanUNICAST3.isLocalSiteMaster(Address dest) protected booleanASYM_ENCRYPT.keyServerAddr(Address ks) protected voidprotected voidprotected abstract <T> booleanFailureDetection.needsToBeSuspected(Address mbr, T value) protected <T> booleanFD_ALL.needsToBeSuspected(Address mbr, T value) protected <T> booleanFD_ALL2.needsToBeSuspected(Address mbr, T value) protected <T> booleanFD_ALL3.needsToBeSuspected(Address mbr, T value) voidvoidvoidSubclasses must call this method when a unicast or multicast message has been receivedvoidprotected static voidSHARED_LOOPBACK.register(AsciiString cluster, Address local_addr, SHARED_LOOPBACK shared_loopback) protected voidTP.registerLocalAddress(Address addr) Associates the address with the physical address fetched from the cacheprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidReliableMulticast.removeAndDeliver(Buffer<Message> win, ReliableMulticast.Entry e, Address sender, boolean loopback, AsciiString cluster) Efficient way of checking whether another thread is already processing messages from sender.protected voidReliableUnicast.removeAndDeliver(ReliableUnicast.Entry entry, Address sender, AsciiString cluster, int min_size) Try to remove as many messages as possible from the table as pass them up.protected voidSEQUENCER2.removeAndDeliver(Table<Message> win, Address sender) protected voidUNICAST3.removeAndDeliver(Table<Message> win, Address sender, AsciiString cluster, int min_size) Try to remove as many messages as possible from the table as pass them up.protected booleanFD_SOCK.removeFromPingableMembers(Address mbr) DISCARD.removeIgnoredMember(Address member) protected voidTP.removeLogicalAddressFromCache(Address logical_addr) protected voidPDC.removeNodeFromDisk(Address logical_addr) voidReliableUnicast.removeReceiveConnection(Address mbr) voidUNICAST3.removeReceiveConnection(Address mbr) voidReliableUnicast.removeSendConnection(Address mbr) voidUNICAST3.removeSendConnection(Address mbr) protected voidFD_SOCK2.BroadcastTask.removeSuspect(Address suspect) protected booleanVERIFY_SUSPECT.removeSuspect(Address suspect) protected booleanVERIFY_SUSPECT2.removeSuspect(Address suspect) protected voidFD_SOCK.BroadcastTask.removeSuspectedMember(Address suspected_mbr) voidprotected voidReliableMulticast.retransmit(long first_seqno, long last_seqno, Address sender, boolean multicast_xmit_request) protected voidReliableMulticast.retransmit(SeqnoList missing_msgs, Address sender, boolean multicast_xmit_request) protected voidReliableUnicast.retransmit(SeqnoList missing, Address sender, Address real_dest) Sends a retransmit request to the given senderprotected voidUNICAST3.retransmit(SeqnoList missing, Address sender, Address real_dest) Sends a retransmit request to the given senderprotected voidprotected voidprotected voidprotected voidReliableUnicast.sendAck(Address dst, ReliableUnicast.Entry entry, Address real_dest) protected voidvoidvoidprotected voidCOUNTER.sendCounterNotFoundExceptionResponse(Address dest, Owner owner, String counter_name) protected voidFlowControl.sendCredit(Address dest, long credits) protected voidFlowControl.sendCreditRequest(Address dest, long credits_needed) We cannot send this request as OOB message, as the credit request needs to queue up behind the regular messages; if a receiver cannot process the regular messages, that is a sign that the sender should be throttled !protected voidDiscovery.sendDiscoveryResponse(List<PingData> list, Address sender) protected voidDiscovery.sendDiscoveryResponse(Address logical_addr, PhysicalAddress physical_addr, String logical_name, Address sender, boolean coord) protected voidFD_SOCK.sendIHaveSockMessage(Address dst, Address mbr, IpAddress addr) Sends or broadcasts a I_HAVE_SOCK response.protected voidAUTH.sendJoinRejectionMessage(Address dest, String error_msg) protected voidAUTH.sendMergeRejectionMessage(Address dest) protected voidBaseBundler.sendMessageList(Address dest, Address src, List<Message> list, ByteBufferOutputStream out) protected voidPerDestinationBundler.SendBuffer.sendMessages(Address dest, Address src, List<Message> list) protected voidBaseBundler.sendMultiple(Address dst, Address sender, List<Message> list, ByteBufferOutputStream out) protected voidAUTH.sendRejectionMessage(byte type, Address dest, String error_msg) protected voidCOUNTER.sendRequest(Address dest, COUNTER.Request req) protected voidReliableUnicast.sendRequestForFirstSeqno(Address dest, Address original_dest) protected voidUNICAST3.sendRequestForFirstSeqno(Address dest, Address original_dest) protected voidCOUNTER.sendResponse(Address dest, org.jgroups.protocols.COUNTER.Response<?> rsp) protected voidRSVP.sendResponse(Address dest, short id) protected voidSEQUENCER2.sendSeqnoResponse(Address original_sender, long seqno, int num_seqnos) protected voidBaseBundler.sendSingle(Address dst, Message msg, ByteBufferOutputStream out) protected voidBaseBundler.sendSingleMessage(Address dest, Message msg, ByteBufferOutputStream out) voidSends a message to a given local member.default voidLocalTransport.sendTo(Address dest, ByteBuffer buf) protected voidSHARED_LOOPBACK.sendTo(Address dest, ByteBuffer buf) protected voidTP.sendTo(Address dest, ByteBuffer buf) protected voidTUNNEL.sendTo(Address dest, ByteBuffer buf) voidTUNNEL.TUNNELPolicy.sendToAllMembers(String group, Address sender, ByteBuffer data) voidTUNNEL.TUNNELPolicy.sendToSingleMember(String group, Address dest, Address sender, ByteBuffer data) protected voidReliableMulticast.sendXmitRsp(Address dest, Message msg) Sends a message msg to the requester.protected voidASYM_ENCRYPT.serializeKeys(ByteArrayDataOutputStream out, boolean serialize_shared_keys, Address serialize_only) Serializes all public keys and their corresponding encrypted shared group keys into a bufferFD_SOCK2.FdHeader.serverAddress(Address a) DISCARD.setAddress(Address localAddress) <T extends Protocol>
TFORK.setAddress(Address addr) <T extends Protocol>
TTP.setAddress(Address addr) protected voidTP.setInAllThreadFactories(String cluster_name, Address local_address, String pattern) DAISYCHAIN.DaisyHeader.setOriginalSender(Address s) protected booleanDISCARD.shouldDropUpMessage(Message msg, Address sender) Checks if a message should be passed up, or notprotected voidSEQUENCER.startFlusher(Address new_coord) booleanTP.unicastDestMismatch(Address dest) protected voidReliableMulticast.unknownMember(Address sender, Object message) protected static voidSHARED_LOOPBACK.unregister(AsciiString cluster, Address local_addr) protected voidASYM_ENCRYPT.unserializeAndInstallKeys(Address sender, byte[] version, ByteArrayDataInputStream in) Unserializes public keys and installs them to pub_map, then reads encrypted shared keys and install our ownASYM_ENCRYPT.unserializeKeys(Address sender, byte[] buf, int offset, int length) protected booleanRemoves mbr from suspected_mbrs and sends a UNSUSPECT event up and down the stackprotected booleanprotected voidprotected voidvoidvoidprotected abstract voidprotected voidprotected voidprotected voidprotected voidVERIFY_SUSPECT.verifySuspectWithICMP(Address suspected_mbr) protected booleanTP.versionMatch(short version, Address sender) protected voidprotected voidPDC.writeNodeToDisk(Address logical_addr, PhysicalAddress physical_addr) protected FilePDC.writeToTempFile(File dir, Address logical_addr, Address physical_addr, String logical_name) Writes the data to a temporary file.
The file is stored in the same directory as the other cluster files but is given the '.tmp' suffixMethod parameters in org.jgroups.protocols with type arguments of type AddressModifier and TypeMethodDescriptionprotected voidFD_SOCK2.BroadcastTask.addSuspects(List<Address> mbrs) protected booleanVERIFY_SUSPECT.addSuspects(Collection<Address> list) Adds suspected members to the suspect list.protected voidVERIFY_SUSPECT2.addSuspects(Collection<Address> list) Adds suspected members to the suspect list.protected longFlowControl.adjustCredit(Map<Address, Credit> map, Address sender, int length) Check whether sender has enough credits left.protected voidNAKACK4.adjustReceivers(List<Address> members) protected voidReliableMulticast.adjustReceivers(List<Address> members) Removes old members from xmit-table and adds new members to xmit-table (at seqnos hd=0, hr=0).protected voidFD_SOCK.BroadcastTask.adjustSuspectedMembers(List<Address> new_mbrship) Removes all elements from suspected_mbrs that are not in the new membershipprotected voidVERIFY_SUSPECT.adjustSuspectedMembers(List<Address> new_mbrship) Removes all elements from suspects that are not in the new membershipprotected voidFD_SOCK2.BroadcastTask.adjustSuspects(List<Address> mbrs) Removes all elements from suspects that are not in the new membershipprotected voidFD_SOCK2.broadcastSuspectMessage(List<Address> suspected_members) Sends a SUSPECT message to all group members.protected voidDiscovery.callFindMembersInAllDiscoveryProtocols(List<Address> mbrs, boolean initial_discovery, Responses rsps) CallsDiscovery.findMembers(List, boolean, Responses)in this protocol and all discovery protocols belowMERGE3.detectDifferentViews(Map<Address, View> map) protected voidDiscovery.disseminateDiscoveryInformation(List<Address> current_mbrs, List<Address> left_mbrs, List<Address> new_mbrs) Disseminates cache information (UUID/IP adddress/port/name) to the given membersprotected voidTP.fetchPhysicalAddrs(List<Address> missing) protected ResponsesTP.fetchResponsesFromDiscoveryProtocol(List<Address> missing) Discovery.findMembers(List<Address> members, boolean initial_discovery, boolean async, long timeout) protected abstract voidDiscovery.findMembers(List<Address> members, boolean initial_discovery, Responses responses) Fetches information (e.g.voidFILE_PING.findMembers(List<Address> members, boolean initial_discovery, Responses responses) voidJDBC_PING2.findMembers(List<Address> members, boolean initial_discovery, Responses responses) LOCAL_PING.findMembers(List<Address> members, boolean initial_discovery, boolean async, long timeout) voidLOCAL_PING.findMembers(List<Address> members, boolean initial_discovery, Responses responses) voidPING.findMembers(List<Address> members, boolean initial_discovery, Responses responses) voidSHARED_LOOPBACK_PING.findMembers(List<Address> members, boolean initial_discovery, Responses responses) voidTCPGOSSIP.findMembers(List<Address> members, boolean initial_discovery, Responses responses) voidTCPPING.findMembers(List<Address> members, boolean initial_discovery, Responses responses) protected voidBARRIER.flushQueue(Map<Address, Message> queue) protected voidFlowControl.handleCreditRequest(Map<Address, Credit> map, Address sender, long requested_credits) protected voidBATCH2.handleViewChange(List<Address> mbrs) protected voidFlowControl.handleViewChange(List<Address> mbrs) protected voidMFC.handleViewChange(List<Address> mbrs) protected voidUFC.handleViewChange(List<Address> mbrs) ReliableUnicast.lastSync(ExpiryCache<Address> c) static ByteArrayFD_SOCK.marshal(LazyRemovalCache<Address, IpAddress> addrs) FD_SOCK2.FdHeader.mbrs(Collection<Address> m) PingData.mbrs(Collection<? extends Address> mbrs) protected static Stringprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidPerDestinationBundler.removeLeftMembers(List<Address> left_mbrs) voidUNICAST3.removeSendConnection(Predicate<Address> pred) protected voidFD_SOCK.resetPingableMembers(Collection<Address> new_mbrs) abstract voidBasicTCP.retainAll(Collection<Address> members) protected booleanRSVP.Entry.retainAll(Collection<Address> members) voidTCP_NIO2.retainAll(Collection<Address> members) voidTCP.retainAll(Collection<Address> members) protected voidFailureDetection.retainKeys(List<Address> mbrs) protected voidPING.sendDiscoveryRequest(String cluster_name, List<Address> members_to_find, boolean initial_discovery) protected static ByteArrayASYM_ENCRYPT.serializeKeys(Map<Address, byte[]> keys) protected voidDiscovery.startCacheDissemination(List<Address> curr_mbrs, List<Address> left_mbrs, List<Address> new_mbrs) protected voidprotected voidprotected voidprotected voidFD_SOCK2.suspect(Collection<Address> suspects) protected voidVERIFY_SUSPECT.verifySuspect(Collection<Address> mbrs) Sends ARE_YOU_DEAD message to suspected_mbr, wait for return or timeoutprotected voidVERIFY_SUSPECT2.verifySuspect(Collection<Address> mbrs) Sends ARE_YOU_DEAD message to suspected_mbr, wait for return or timeoutConstructors in org.jgroups.protocols with parameters of type AddressModifierConstructorDescriptionprotectedDaisyHeader(Address original_sender) protectedUnicast entryprotectedCreates an instance of aEntryrecord class.protectedCreates an instance of aEntryrecord class.Mapping(Address logical_addr, PhysicalAddress physical_addr, String logical_name) PingData(Address sender, boolean is_server, String logical_name, PhysicalAddress physical_addr) ReceiverEntry(Buffer<Message> received_msgs, short recv_conn_id, Address real_dest) ReceiverEntry(Table<Message> received_msgs, short recv_conn_id, Address real_dest) protectedRequest(FD_SOCK2.Request.Type type, Address suspect) Creates an instance of aRequestrecord class.SendBuffer(Address dest) Constructor parameters in org.jgroups.protocols with type arguments of type AddressModifierConstructorDescriptionDiscoveryCacheDisseminationTask(List<Address> curr_mbrs, List<Address> left_mbrs, List<Address> new_mbrs) protectedEntry(Collection<Address> members) Multicast entry -
Uses of Address in org.jgroups.protocols.dns
Methods in org.jgroups.protocols.dns that return types with arguments of type AddressModifier and TypeMethodDescriptionDefaultDNSResolver.resolveAAAAEntries(String dnsQuery) AddressedDNSResolver.resolveAEntries(String dnsQuery, String srcPort) DefaultDNSResolver.resolveAEntries(String dnsQuery) DefaultDNSResolver.resolveAEntries(String dnsQuery, String srcPort) DefaultDNSResolver.resolveIPEntries(String dnsQuery, String srcPort) DefaultDNSResolver.resolveIps(String dnsQuery, DNSResolver.DNSRecordType recordType) DNSResolver.resolveIps(String dnsQuery, DNSResolver.DNSRecordType recordType) DefaultDNSResolver.resolveSRVEntries(String dnsQuery) Method parameters in org.jgroups.protocols.dns with type arguments of type AddressModifier and TypeMethodDescriptionvoidDNS_PING.findMembers(List<Address> members, boolean initial_discovery, Responses responses) -
Uses of Address in org.jgroups.protocols.pbcast
Classes in org.jgroups.protocols.pbcast that implement interfaces with type arguments of type AddressModifier and TypeClassDescriptionclassSTATE_TRANSFER protocol based on byte array transfer.classBase class for state transfer protocols which use streaming (or chunking) to transfer state between two members.Fields in org.jgroups.protocols.pbcast declared as AddressModifier and TypeFieldDescriptionprotected AddressSTABLE.coordinatorprotected Address[]DeltaView.left_membersMembers which left the view corresponding to ref_view_idprotected AddressGMS.GmsHeader.mbrprotected AddressGmsImpl.Request.mbrprotected Address[]DeltaView.new_membersMembers which joined the view corresponding to ref_view_idprotected final AddressStreamingStateTransfer.StateGetter.requesterprotected final AddressMergeData.senderprotected AddressStreamingStateTransfer.state_providerprotected final AddressSTATE.StateOutputStream.stateRequesterFields in org.jgroups.protocols.pbcast with type parameters of type AddressModifier and TypeFieldDescriptionprotected final Map<Address, MessageBatch> NAKACK2.cached_batchesTo cache batches for sending messages up the stack (https://issues.redhat.com/browse/JGRP-2841)protected final ConcurrentMap<Address, Collection<Address>> Merger.MergeTask.coordsList of all subpartition coordinators and their membersprotected final ConcurrentMap<Address, Collection<Address>> Merger.MergeTask.coordsList of all subpartition coordinators and their membersGMS.joiningMembers joined but for which no view has been received yetLeaver.leave_promiseGMS.leavingMembers excluded from group, but for which no view has been received yetNAKACK2.membersSTATE_TRANSFER.membersStreamingStateTransfer.membersprotected BoundedList<Address> GMS.prev_membersKeeps track of old members (up to num_prev_mbrs)NAKACK2.stable_xmit_mapprotected final ProcessingQueue<Address> STATE_TRANSFER.state_requestersList of members requesting stateprotected final ProcessingQueue<Address> StreamingStateTransfer.state_requestersList of members requesting state.protected SuppressLog<Address> NAKACK2.suppress_log_non_memberLog to suppress identical warnings for messages from non-membersGmsImpl.Request.viewsprotected final ConcurrentMap<Address, Table<Message>> NAKACK2.xmit_tableMap to store sent and received messages (keyed by sender)NAKACK2.xmit_task_mapUsed by the retransmit task to keep the last retransmitted seqno per sender (https://issues.redhat.com/browse/JGRP-1539)Methods in org.jgroups.protocols.pbcast that return AddressModifier and TypeMethodDescriptionprotected AddressGMS.determineCoordinator()protected AddressSTATE_TRANSFER.determineCoordinator()Return the first element of members which is not me.protected AddressStreamingStateTransfer.determineCoordinator()protected AddressMerger.determineMergeLeader(Map<Address, View> views) Returns the address of the merge leaderprotected AddressGMS.determineNextCoordinator()Returns the second-in-lineprotected AddressGMS.getCoord()Address[]DeltaView.getLeftMembers()GMS.GmsHeader.getMember()Address[]DeltaView.getNewMembers()MergeData.getSender()NakAckHeader2.getSender()Methods in org.jgroups.protocols.pbcast that return types with arguments of type AddressModifier and TypeMethodDescriptionGMS.computeNewMembership(Collection<Collection<Address>> subviews) Computes a merge membershipGMS.computeNewMembership(List<Address> current_members, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) Computes the regular membershipprotected 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 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).GMS.DefaultMembershipPolicy.getNewMembership(Collection<Collection<Address>> subviews) Default implementation for a merge.GMS.DefaultMembershipPolicy.getNewMembership(Collection<Address> current_members, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) Takes the existing membership list and removes suspected and left members, then adds new members to the end of the listGMS.DefaultMembershipPolicy.getNewMembershipOld(Collection<Collection<Address>> subviews) Old default implementation for a merge.DeltaView.iterator()protected Collection<? extends Address> GMS.readMembers(byte[] buffer, int offset, int length) Methods in org.jgroups.protocols.pbcast with parameters of type AddressModifier and TypeMethodDescriptionprotected voidMerger._handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) protected voidSTATE_TRANSFER.closeHoleFor(Address member) protected voidStreamingStateTransfer.closeHoleFor(Address member) voidLeaver.coordChanged(Address new_coord) Callback to notify Leaver that the coord changed.protected voidParticipantGmsImpl.coordChanged(Address from, Address to) protected voidServerGmsImpl.coordChanged(Address from, Address to) protected Tuple<InputStream, Object> STATE_SOCK.createStreamToProvider(Address provider, StreamingStateTransfer.StateHeader hdr) protected Tuple<InputStream, Object> STATE.createStreamToProvider(Address provider, StreamingStateTransfer.StateHeader hdr) protected abstract Tuple<InputStream, Object> StreamingStateTransfer.createStreamToProvider(Address provider, StreamingStateTransfer.StateHeader hdr) Creates an InputStream to the state provider to read the state.protected voidSTATE.createStreamToRequester(Address requester) protected voidStreamingStateTransfer.createStreamToRequester(Address requester) Creates an OutputStream to the state requester to write the statestatic NakAckHeader2NakAckHeader2.createXmitRequestHeader(Address orginal_sender) protected voidprotected booleanClientGmsImpl.firstOfAllClients(Address joiner, Responses rsps) Handles the case where no coord responses were received.protected static intprotected voidSTATE_TRANSFER.getStateFromApplication(Address requester, Digest digest) protected voidStreamingStateTransfer.getStateFromApplication(Address requester, OutputStream out, boolean use_separate_thread) Returns the receive window for sender; only used for testing.protected ObjectSTABLE.handle(STABLE.StableHeader hdr, Address sender, Digest digest) voidvoidvoidGmsImpl.handleDigestResponse(Address sender, Digest digest) voidMerger.handleDigestResponse(Address sender, Digest digest) voidServerGmsImpl.handleDigestResponse(Address sender, Digest digest) protected voidprotected voidprotected voidNAKACK2.handleHighestSeqno(Address sender, long seqno) Compares the sender's highest seqno with my highest seqno: if the sender's is higher, ask sender for retransmissionvoidGmsImpl.handleLeaveResponse(Address sender) voidLeaver.handleLeaveResponse(Address sender) voidGmsImpl.handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) voidMerger.handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) Get the view and digest and send back both (MergeData) in the form of a MERGE_RSP to the sender.voidServerGmsImpl.handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) Get the view and digest and send back both (MergeData) in the form of a MERGE_RSP to the sender.protected voidSTABLE.handleStabilityMessage(Digest stable_digest, Address sender, ViewId view_id) protected voidSTABLE.handleStableMessage(Digest d, Address sender, ViewId view_id) Digest d contains (a) the highest seqnos deliverable for each sender and (b) the highest seqnos seen for each member.protected voidSTATE.handleStateChunk(Address sender, byte[] buffer, int offset, int length) protected voidStreamingStateTransfer.handleStateChunk(Address sender, byte[] buffer, int offset, int length) protected voidSTATE_SOCK.handleStateReq(Address requester) protected voidSTATE_TRANSFER.handleStateReq(Address requester) protected voidStreamingStateTransfer.handleStateReq(Address requester) protected voidSTATE_TRANSFER.handleStateRsp(Digest digest, Address sender, byte[] state) Set the digest and the send the state up to the applicationprotected voidStreamingStateTransfer.handleStateRsp(Address provider, StreamingStateTransfer.StateHeader hdr) protected voidNAKACK2.handleXmitReq(Address xmit_requester, SeqnoList missing_msgs, Address original_sender) Retransmits messsages first_seqno to last_seqno from original_sender from xmit_table to xmit_requester, called when XMIT_REQ is received.voidvoidabstract voidvoidprotected voidClientGmsImpl.joinInternal(Address mbr, boolean joinWithStateTransfer) Makes this process join a group.voidClientGmsImpl.joinWithStateTransfer(Address local_addr) voidCoordGmsImpl.joinWithStateTransfer(Address ignored) abstract voidGmsImpl.joinWithStateTransfer(Address local_addr) voidParticipantGmsImpl.joinWithStateTransfer(Address ignored) protected voidSTATE_TRANSFER.punchHoleFor(Address member) protected voidStreamingStateTransfer.punchHoleFor(Address member) protected voidNAKACK2.removeAndDeliver(Table<Message> buf, Address sender, boolean loopback, AsciiString cluster, int min_size) Efficient way of checking whether another thread is already processing messages from sender.protected voidNAKACK2.retransmit(long first_seqno, long last_seqno, Address sender, boolean multicast_xmit_request) protected voidNAKACK2.retransmit(SeqnoList missing_msgs, Address sender, boolean multicast_xmit_request) protected voidprotected voidSTATE_TRANSFER.sendException(Address requester, Throwable exception) protected voidStreamingStateTransfer.sendException(Address requester, Throwable exception) voidGMS.sendJoinResponse(JoinRsp rsp, Address dest) protected voidGMS.sendJoinResponse(ByteArray marshalled_rsp, Address dest) protected voidLeaver.sendLeaveRequest(Address coord, Address leaving_mbr) protected voidGmsImpl.sendMergeRejectedResponse(Address sender, MergeId merge_id) protected voidMerger.sendMergeRejectedResponse(Address sender, MergeId merge_id) protected voidMerger.sendMergeResponse(Address sender, View view, Digest digest, MergeId merge_id) Send back a response containing view and digest to senderprotected voidGMS.sendViewAck(Address dest) protected voidNAKACK2.sendXmitRsp(Address dest, Message msg) Sends a message msg to the requester.protected voidStreamingStateTransfer.setStateInApplication(InputStream in, Object resource, Address provider) voidvoidvoidprotected voidNAKACK2.unknownMember(Address sender) voidvoidRemoves previously suspected member from list of currently suspected membersprotected voidSTABLE.updateLocalDigest(Digest d, Address sender) Update my own digest from a digest received by somebody else.Method parameters in org.jgroups.protocols.pbcast with type arguments of type AddressModifier and TypeMethodDescriptionprotected voidMerger._handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) protected voidMerger.MergeTask._run(MergeId new_merge_id, Collection<Address> coordsCopy) Runs the merge protocol as a leaderprotected voidNAKACK2.adjustReceivers(List<Address> members) Removes old members from xmit-table and adds new members to xmit-table (at seqnos hd=0, hr=0).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_acksGMS.computeNewMembership(Collection<Collection<Address>> subviews) Computes a merge membershipGMS.computeNewMembership(List<Address> current_members, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) Computes the regular membershipGMS.computeNewMembership(List<Address> current_members, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) Computes the regular membershipprotected 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 leaderprotected booleanMerger.MergeTask.getMergeDataFromSubgroupCoordinators(Map<Address, Collection<Address>> coords, MergeId new_merge_id, long timeout) Sends a MERGE_REQ to all coords and populates a list of MergeData (in merge_rsps).protected booleanMerger.MergeTask.getMergeDataFromSubgroupCoordinators(Map<Address, Collection<Address>> coords, MergeId new_merge_id, long timeout) Sends a MERGE_REQ to all coords and populates a list of MergeData (in merge_rsps).GMS.DefaultMembershipPolicy.getNewMembership(Collection<Collection<Address>> subviews) Default implementation for a merge.GMS.DefaultMembershipPolicy.getNewMembership(Collection<Address> current_members, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) Takes the existing membership list and removes suspected and left members, then adds new members to the end of the listGMS.DefaultMembershipPolicy.getNewMembershipOld(Collection<Collection<Address>> subviews) Old default implementation for a merge.GMS.getNextView(Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspected_mbrs) Computes the next view.voidGmsImpl.handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) voidMerger.handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) Get the view and digest and send back both (MergeData) in the form of a MERGE_RSP to the sender.voidServerGmsImpl.handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) Get the view and digest and send back both (MergeData) in the form of a MERGE_RSP to the sender.protected static ByteArrayGMS.marshal(Collection<? extends Address> mbrs) voidvoidInvoked upon receiving a MERGE event from the MERGE layer.voidInvoked upon receiving a MERGE event from the MERGE layer.protected voidMerger.MergeTask.removeRejectedMergeRequests(Collection<Address> coords) Removed rejected merge requests from merge_rsps and coords.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).protected voidGMS.sendJoinResponses(JoinRsp jr, Collection<Address> joiners) protected voidMerger.sendMergeCancelledMessage(Collection<Address> coords, MergeId merge_id) protected voidMerger.sendMergeView(Collection<Address> coords, MergeData combined_merge_data, MergeId merge_id) Sends the new view and digest to all subgroup coordinators.protected voidGMS.sendViewChangeAndJoinResponse(Message view_change_msg, JoinRsp jr, Collection<Address> joiners) voidprotected booleanParticipantGmsImpl.wouldIBeCoordinator(Collection<Address> leaving_mbrs, Collection<Address> suspected_members) Determines whether this member is the new coordinator given a list of suspected members.Constructors in org.jgroups.protocols.pbcast with parameters of type AddressModifierConstructorDescriptionUsed for JOIN_REQ or LEAVE_REQ headerStateGetter(Address requester, OutputStream output) StateOutputStream(Address stateRequester) Constructor parameters in org.jgroups.protocols.pbcast with type arguments of type Address -
Uses of Address in org.jgroups.protocols.relay
Subinterfaces of Address in org.jgroups.protocols.relayClasses in org.jgroups.protocols.relay that implement AddressModifier and TypeClassDescriptionclassSpecial address with the UUID part being 0: identifies the current (relay) coordinator of a given site.classImplementation of SiteAddressFields in org.jgroups.protocols.relay declared as AddressModifier and TypeFieldDescriptionprotected AddressRelayHeader.final_destprotected AddressRelayHeader.original_senderprotected final AddressRoute.site_masterSiteUUID: address of the site masterFields in org.jgroups.protocols.relay with type parameters of type AddressModifier and TypeFieldDescriptionDefaultRouteStatusListener.addr_getterRandomSiteMasterPicker.addr_supplierStickySiteMasterPicker.local_sm_cacheStickySiteMasterPicker.local_sm_cacheRELAY.membersStickySiteMasterPicker.route_cacheRELAY.site_mastersMethods in org.jgroups.protocols.relay that return AddressModifier and TypeMethodDescriptionDefaultRouteStatusListener.addr()protected AddressRELAY3.checkLocalAddress(Address dest) RelayHeader.getFinalDest()RelayHeader.getOriginalSender()RandomSiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) protected AddressRELAY.pickSiteMaster(Address sender) Returns a site master from site_mastersSiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) Needs to pick a member from a list of addresses of site mastersStickySiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) Route.siteMaster()Methods in org.jgroups.protocols.relay that return types with arguments of type AddressModifier 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 valuesRELAY.members()RELAY.siteMasters()Methods in org.jgroups.protocols.relay with parameters of type AddressModifier and TypeMethodDescriptionprotected AddressRELAY3.checkLocalAddress(Address dest) intintprotected static booleanprotected booleanprotected MessageRoute.createMessage(Address target, Address final_destination, Address original_sender, Message msg, Collection<String> visited_sites) protected voidprotected ObjectSends the message to a local destination.protected ObjectRELAY3.deliver(Address next_dest, Message msg, boolean dont_relay, boolean dont_loopback, boolean oob) protected StringRELAY2.fetchTopoFromSiteMaster(Address sm) protected voidRELAY2.forwardTo(Address next_dest, SiteAddress final_dest, Address original_sender, Message msg, boolean forward_to_current_coord) protected RouteRelayer.getForwardingRouteMatching(String site, Address sender) Returns a Route matching any of the ForwardingRoutes, or null if none matchesprotected PhysicalAddressRELAY.getPhysicalAddress(Address mbr) protected Routeprotected booleanRELAY2.handleAdminMessage(RelayHeader hdr, Address sender) Handles SITES_UP/SITES_DOWN/TOPO_REQ/TOPO_RSP messagesvoidDefaultRouteStatusListener.memberUnreachable(Address member) default voidRouteStatusListener.memberUnreachable(Address member) Sent back to the original sender when the unicast destination is not part of the local cluster (site)Picks a route to a given remote site from a list of routes.RandomSiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) protected AddressRELAY.pickSiteMaster(Address sender) Returns a site master from site_mastersSiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) Needs to pick a member from a list of addresses of site mastersStickySiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) voidvoidRoute.send(Address final_destination, Address original_sender, Message msg, Collection<String> visited_sites) protected voidRELAY3.sendMemberUnreachableTo(Address dest, Address member) Sends a MBR-UNREACHABLE message to the sender of a unicast messageprotected voidRELAY3.sendResponsesForAllSites(Address dest) protected voidRELAY3.sendResponseTo(Address dest, boolean all_sites) Returns information about all members of all sites, or only the local members of a given siteprotected voidRELAY2.sendSiteUnreachableTo(Address src, String target_site) Sends a SITE-UNREACHABLE message to the sender of the message.protected voidRELAY3.sendSiteUnreachableTo(Address dest, String target_site) Sends a SITE-UNREACHABLE message to the sender of the message.protected voidRELAY2.sendToBridges(Address sender, Message msg, String... excluded_sites) Sends the message via all bridges excluding the excluded_sites bridgesprotected ObjectRELAY3.sendToLocalSiteMaster(Address sender, Message msg) protected booleanRELAY2.sendTopoReq(JChannel bridge, Address dest) RelayHeader.setFinalDestination(Address d) RelayHeader.setOriginalSender(Address s) protected voidRELAY.triggerMemberUnreachableEvent(Address mbr) protected voidRELAY3.triggerMemberUnreachableEvent(Address mbr) Method parameters in org.jgroups.protocols.relay with type arguments of type AddressModifier and TypeMethodDescriptionRandomSiteMasterPicker.addressSupplier(Supplier<Address> s) RandomSiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) SiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) Needs to pick a member from a list of addresses of site mastersStickySiteMasterPicker.pickSiteMaster(List<Address> site_masters, Address original_sender) Constructors in org.jgroups.protocols.relay with parameters of type AddressModifierConstructorDescriptionRelayHeader(byte type, Address final_dest, Address original_sender) Constructor parameters in org.jgroups.protocols.relay with type arguments of type Address -
Uses of Address in org.jgroups.stack
Classes in org.jgroups.stack that implement AddressFields in org.jgroups.stack declared as AddressModifier and TypeFieldDescriptionprotected AddressProtocol.local_addrprotected final AddressRouterStubManager.local_addrStateTransferInfo.targetFields in org.jgroups.stack with type parameters of type AddressModifier and TypeFieldDescriptionprotected final Map<String, ConcurrentMap<Address, GossipRouter.Entry>> GossipRouter.address_mappingsprotected final Map<Address, ByteBufferOutputStream> GossipRouter.output_streamsMethods in org.jgroups.stack that return AddressModifier and TypeMethodDescriptionProtocol.addr()GossipRouter.Entry.client_addr()Returns the value of theclient_addrrecord component.AddressGenerator.generateAddress()Deprecated, for removal: This API element is subject to removal in a future version.default AddressAddressGenerator.generateAddress(String name) GossipData.getAddress()Protocol.getAddress()GossipData.getSender()GossipRouter.localAddress()Methods in org.jgroups.stack that return types with arguments of type AddressModifier and TypeMethodDescriptionLargestWinningPolicy.getNewMembership(Collection<Collection<Address>> subviews) Called when a merge happened.MembershipChangePolicy.getNewMembership(Collection<Collection<Address>> subviews) Compute a new membership based on a number of subviewsMembershipChangePolicy.getNewMembership(Collection<Address> current_members, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) Computes a new membership based on existing, joining, leaving and suspected members.Methods in org.jgroups.stack with parameters of type AddressModifier and TypeMethodDescriptionprotected voidGossipRouter.addAddressMapping(Address sender, String group, Address addr, PhysicalAddress phys_addr, String logical_name) <T extends Protocol>
Tintimplements the java.lang.Comparable interfacevoidRouterStub.connect(String group, Address addr, String logical_name, PhysicalAddress phys_addr) Registers mbr with the GossipRouter under the given group, with the given logical name and physical address.voidRouterStub.disconnect(String group, Address addr) protected ByteBufferOutputStreamGossipRouter.getOutputStream(Address mbr, int size) protected voidGossipRouter.handleGetMembersRequest(Address sender, DataInput in) protected voidGossipRouter.handleHeartbeat(Address sender) protected voidGossipRouter.handleRegister(Address sender, DataInput in) voidvoidUsed when use_nio is false (TcpConnection)voidGossipRouter.receive(Address sender, ByteBuffer buf) Used when use_nio=true (NioConnection)voidvoidprotected voidGossipRouter.removeAddressMapping(String group, Address addr) protected voidGossipRouter.removeFromAddressMappings(Address client_addr) protected voidGossipRouter.route(String group, Address dest, Address sender, ByteBuffer buf) protected voidGossipRouter.sendMembersResponse(Address to, GossipData rsp, String group) voidRouterStub.sendToAllMembers(String group, Address sender, byte[] data, int offset, int length) voidRouterStub.sendToAllMembers(String group, Address sender, ByteBuffer buf) protected voidGossipRouter.sendToAllMembersInGroup(Set<Map.Entry<Address, GossipRouter.Entry>> dests, Address sender, ByteBuffer buf, boolean skip_self) protected voidGossipRouter.sendToMember(Address dest, ByteBuffer buf) voidRouterStub.sendToMember(String group, Address dest, Address sender, byte[] data, int offset, int length) voidRouterStub.sendToMember(String group, Address dest, Address sender, ByteBuffer buf) <T extends Protocol>
TProtocol.setAddress(Address addr) static voidGossipData.writeMetadata(DataOutput out, String group, Address addr, Address sender, int len) Method parameters in org.jgroups.stack with type arguments of type AddressModifier and TypeMethodDescriptionLargestWinningPolicy.getNewMembership(Collection<Collection<Address>> subviews) Called when a merge happened.MembershipChangePolicy.getNewMembership(Collection<Collection<Address>> subviews) Compute a new membership based on a number of subviewsMembershipChangePolicy.getNewMembership(Collection<Address> current_members, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) Computes a new membership based on existing, joining, leaving and suspected members.protected voidGossipRouter.sendToAllMembersInGroup(Set<Map.Entry<Address, GossipRouter.Entry>> dests, Address sender, ByteBuffer buf, boolean skip_self) Constructors in org.jgroups.stack with parameters of type AddressModifierConstructorDescriptionprotectedEntry(Address client_addr, PhysicalAddress phys_addr, String logical_name) Creates an instance of aEntryrecord class.GossipData(GossipType type, String group, Address addr) GossipData(GossipType type, String group, Address addr, byte[] buffer) GossipData(GossipType type, String group, Address addr, byte[] buffer, int offset, int length) GossipData(GossipType type, String group, Address addr, String logical_name, PhysicalAddress physical_addr) GossipData(GossipType type, String group, Address addr, List<PingData> ping_data) GossipData(GossipType type, String group, Address addr, List<PingData> ping_data, PhysicalAddress physical_addr) RouterStubManager(Log log, TimeScheduler timer, String cluster_name, Address local_addr, String logical_name, PhysicalAddress phys_addr, long reconnect_interval) StateTransferInfo(Address target) StateTransferInfo(Address target, long timeout) StateTransferInfo(Address target, long timeout, byte[] state) -
Uses of Address in org.jgroups.util
Classes in org.jgroups.util that implement AddressModifier and TypeClassDescriptionclassSubclass ofUUIDaccommodating additional data such as a flag and a small hashmap.classSubclass ofUUIDaccommodating additional data such as a flag.classAddress with current time as key.classLogical address which is unique over space and time.Subclasses with type arguments of type Address in org.jgroups.utilFields in org.jgroups.util declared as AddressModifier and TypeFieldDescriptionprotected AddressOwner.addressprotected AddressThreadPool.addressprotected final AddressMaxOneThreadPerSender.Entry.destprotected AddressMessageBatch.destThe destination address.protected Address[]Digest.membersprotected final AddressMaxOneThreadPerSender.Entry.senderprotected AddressMessageBatch.senderThe sender of the message batchFields in org.jgroups.util with type parameters of type AddressModifier and TypeFieldDescriptionAckTable.acksprotected static final LazyRemovalCache<Address, String> NameCache.cacheKeeps track of associations between addresses and logical namesCreditMap.creditsMessageCache.FUNCprotected static final Function<Address, RpcStats.RTTStat> RpcStats.FUNCUtil.FUNCprotected static final Function<Address, RpcStats.Result> RpcStats.FUNC2protected final ConcurrentMap<Address, MaxOneThreadPerSender.Entry> MaxOneThreadPerSender.MessageTable.mapMessageCache.mapAckCollector.missing_acksprotected static final LazyRemovalCache.Printable<Address, LazyRemovalCache.Entry<String>> NameCache.print_functionprotected Map<Address, RpcStats.RTTStat> RpcStats.rtt_statsprotected final Map<Address, AverageMinMax> RTT.rttsprotected Map<Address, RpcStats.Result> RpcStats.statsRTT.timesMethods in org.jgroups.util with type parameters of type AddressModifier and TypeMethodDescriptionstatic <T extends Collection<Address>>
TUtil.readAddresses(DataInput in, IntFunction<T> factory) Methods in org.jgroups.util that return AddressModifier and TypeMethodDescriptionstatic AddressUtil.addressFromString(String s) static AddressUtil.createRandomAddress()static AddressUtil.createRandomAddress(String name) static Address[]Util.createRandomAddresses(int num) Returns an array of num random addresses, named A, B, C etcstatic Address[]Util.createRandomAddresses(int num, boolean use_numbers) MessageBatch.dest()MillisAddressGenerator.generateAddress()MillisAddressGenerator.generateAddress(String ignored) OneTimeAddressGenerator.generateAddress()Owner.getAddress()ThreadPool.getAddress()MessageBatch.getDest()Address[]Digest.getMembersRaw()Don't use, this method is reserved for Bela ! :-)Address[]MutableDigest.getNonSetMembers()Returns an array of members whose seqno is not set.MessageBatch.getSender()Digest.Entry.member()Returns the value of thememberrecord component.static AddressUtil.readAddress(DataInput in) static Address[]Util.readAddresses(DataInput in) MessageBatch.sender()Methods in org.jgroups.util that return types with arguments of type AddressModifier and TypeMethodDescriptionRTT._rtt(int num_reqs, int size, boolean exclude_self) 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 viewUtil.determineLeftMembers(List<Address> old_mbrs, List<Address> new_mbrs) Returns all members that left between 2 views.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.NameCache.getContents()Returns a copy of the cache's contentsNameCache.getContents(boolean skip_removed_values) CreditMap.getMembersWithCreditsLessThan(long min_credits) CreditMap.getMembersWithInsufficientCredits(long credit_needed) ResponseCollector.getMissing()Returns a list of members which didn't send a valid responsePromoteNewestMemberOnCoordinatorLeave.getNewMembership(Collection<Address> currentMembers, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) ResponseCollector.getResults()RspList.getSuspectedMembers()ResponseCollector.getValidResults()CreditMap.keys()Util.leftMembers(Collection<Address> old_list, Collection<Address> new_list) Util.newMembers(List<Address> old_list, List<Address> new_list) Methods in org.jgroups.util with parameters of type AddressModifier and TypeMethodDescriptionvoidvoidlong[]long[]Adds an ACK from a sender to the map.static voidbooleanvoidRpcStats.add(RpcStats.Type type, Address dest, boolean sync, long time) protected voidAckCollector.addAll(Collection<Address> members, Address... exclude) protected voidstatic StringUtil.addressToString(Address addr) voidRpcStats.addRTTStats(Address sender, RTTHeader hdr) protected voidRpcStats.addToResults(Address dest, boolean sync, long time) intintCompares this UUID with the specified UUID.booleanbooleanDigest.containsAll(Address... members) booleanResponses.containsResponseFrom(Address mbr) static MergeIdprotected voidCreditMap.decrementAndAdd(Address member, long new_credits) Decrements credits bytes from all elements and adds new_credits to member (if non null).protected intResponses.findResponseFrom(Address mbr) long[]Returns the highest delivered and received seqnos associated with a member.protected MaxOneThreadPerSender.Entrystatic Stringstatic intUtil.getRank(Collection<Address> members, Address addr) static intReturns the rank of a member in a given viewprotected voidRTT.handleRequest(Address sender, TpHeader hdr) protected voidRTT.handleResponse(Address sender, int index) booleanstatic booleanUtil.isCoordinator(View view, Address local_addr) booleanRspList.isReceived(Address sender) booleanRspList.isSuspected(Address sender) Similar to set(), but if the sender already exists, its seqnos will be modified (no new entry) as follows: this.highest_delivered_seqno=max(this.highest_delivered_seqno, highest_delivered_seqno) this.highest_received_seqno=max(this.highest_received_seqno, highest_received_seqno)longCreditMap.putIfAbsent(Address key) static voidvoidstatic voidUtil.removeFromViews(Address mbr, JChannel... channels) voidAckCollector.reset(Collection<Address> expected_acks, Address... exclude) voidstatic booleanChecks whether 2 Addresses are on the same hostThreadPool.setAddress(Address a) static intstatic intvoidvoidvoidstatic voidUtil.writeAddress(Address addr, DataOutput out) static voidUtil.writeAddresses(Address[] addrs, DataOutput out) static voidUtil.writeMessageList(Address dest, Address src, byte[] cluster_name, List<Message> msgs, DataOutput dos, boolean multicast) Write a list of messages with the *same* destination and src addresses.static voidUtil.writeMessageList(Address dest, Address src, byte[] cluster_name, Message[] msgs, int offset, int length, DataOutput dos, boolean multicast) static voidUtil.writeMessageList(Address dest, Address src, byte[] cluster_name, FastArray<Message> msgs, DataOutput dos, boolean multicast) static voidUtil.writeMessageListHeader(Address dest, Address src, byte[] cluster_name, int numMsgs, DataOutput dos, boolean multicast) Method parameters in org.jgroups.util with type arguments of type AddressModifier and TypeMethodDescriptionvoidAckCollector.ack(Collection<Address> members) static voidprotected voidAckCollector.addAll(Collection<Address> members) protected voidAckCollector.addAll(Collection<Address> members, Collection<Address> exclude) protected voidAckCollector.addAll(Collection<Address> members, Address... exclude) voidRpcStats.addAnycast(boolean sync, long time, Collection<Address> dests) Removes left members from and adds new members to the mapstatic byte[]Util.collectionToByteBuffer(Collection<Address> c) protected voidDigest.createArrays(Map<Address, long[]> map) 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 viewUtil.determineLeftMembers(List<Address> old_mbrs, List<Address> new_mbrs) Returns all members that left between 2 views.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.PromoteNewestMemberOnCoordinatorLeave.getNewMembership(Collection<Address> currentMembers, Collection<Address> joiners, Collection<Address> leavers, Collection<Address> suspects) static intUtil.getRank(Collection<Address> members, Address addr) Util.leftMembers(Collection<Address> old_list, Collection<Address> new_list) Util.newMembers(List<Address> old_list, List<Address> new_list) voidstatic voidNameCache.removeAll(Collection<Address> mbrs) voidAckCollector.reset(Collection<Address> members) AckCollector.reset(Collection<Address> expected_acks, Collection<Address> exclude) AckCollector.reset(Collection<Address> expected_acks, Address... exclude) voidResponseCollector.reset(Collection<Address> members) booleanAckCollector.retainAll(Collection<Address> members) static voidNameCache.retainAll(Collection<Address> logical_addrs) booleanvoidRpcStats.retainAll(Collection<Address> members) static intUtil.size(Collection<? extends Address> addrs) Returns the marshalled size of a Collection of Addresses.voidAckCollector.suspect(Collection<Address> members) protected voidMaxOneThreadPerSender.MessageTable.viewChange(List<Address> mbrs) voidMaxOneThreadPerSender.viewChange(List<Address> members) static voidUtil.writeAddresses(Collection<? extends Address> v, DataOutput out) Writes a list of Addresses.Constructors in org.jgroups.util with parameters of type AddressModifierConstructorDescriptionAckCollector(Address... members) Only used internally, don't use !Creates an instance of aEntryrecord class.protectedEntry(Address sender, Address dest, AsciiString cluster_name) MessageBatch(Address dest, Address sender, AsciiString cluster_name, boolean multicast, Collection<Message> msgs) MessageBatch(Address dest, Address sender, AsciiString cluster_name, boolean multicast, MessageBatch.Mode mode, int capacity) MutableDigest(Address[] members) ResponseCollector(Address... members) Constructor parameters in org.jgroups.util with type arguments of type AddressModifierConstructorDescriptionAckCollector(Collection<Address> members) Creates a new digest from an existing map by copying the keys and values from mapResponseCollector(Collection<Address> members)