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 AddressFields 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.Deprecated, for removal: This API element is subject to removal in a future version.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.Deprecated, for removal: This API element is subject to removal in a future version.protected JChannelbooleanstatic 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 messagedefault 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.JChannel.startFlush(List<Address> flushParticipants, boolean automatic_resume) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.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, 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.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_addrprivate AddressReplCache.local_addrprotected AddressRequestCorrelator.local_addrThe address of this group memberprotected final AddressUnicastRequest.targetFields in org.jgroups.blocks with type parameters of type AddressModifier and TypeFieldDescriptionprotected Collection<Address> MessageDispatcher.membersReplicatedHashMap.membersReplicatedTree.membersReplCache.ConsistentHashFunction.nodesMethods 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) private voidReplCache.move(Address dest, K key, V val, short repl_count, long caching_time, boolean synchronous) 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.private voidprotected 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) (package private) voidReplicatedHashMap.sendViewChangeNotifications(View view, List<Address> new_mbrs, List<Address> old_mbrs) 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 AddressMethods 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()protected AddressNioConnection.readPeerAddress()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 TypeMethodDescriptionvoidBaseServer.addConnection(Address peer_addr, Connection conn) booleanBaseServer.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 oneBaseServer.getConnection(Address dest, boolean retry) 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 voidDeprecated, for removal: This API element is subject to removal in a future version.default 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 data) voidvoidNioClient.send(Address dest, ByteBuffer data) voidvoidTcpClient.send(Address dest, ByteBuffer data) 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) 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) -
Uses of Address in org.jgroups.demos
Fields in org.jgroups.demos with type parameters of type AddressMethods 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) Method parameters in org.jgroups.fork with type arguments of type AddressModifier and TypeMethodDescriptionForkChannel.startFlush(List<Address> flushParticipants, boolean automatic_resume) -
Uses of Address in org.jgroups.protocols
Fields in org.jgroups.protocols declared as AddressModifier and TypeFieldDescriptionprotected AddressCENTRAL_LOCK.coordDeprecated.protected AddressCENTRAL_LOCK2.coordDeprecated.protected AddressCOUNTER.coordThe address of the cluster coordinator.protected AddressSEQUENCER.coordprotected AddressSEQUENCER2.coordprotected AddressDiscovery.current_coordprivate final AddressBATCH.Buffer.destprivate final AddressBATCH2.Buffer.destprivate final AddressBatchBundler.Buffer.destprotected AddressFD_SOCK2.PingDest.destprivate final AddressPerDestinationBundler.SendBuffer.dest(package private) AddressVERIFY_SUSPECT.VerifyHeader.from(package private) AddressVERIFY_SUSPECT2.VerifyHeader.fromprotected AddressASYM_ENCRYPT.key_server_addrprotected AddressBatchBundler.local_addrprotected AddressPerDestinationBundler.local_addrprotected AddressPDC.Mapping.logical_addr(package private) final AddressDISCARD.MyCheckBox.mbrprotected 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_destprivate final AddressUNICAST3.ReceiverEntry.real_destprivate final AddressFRAG.FragmentationTable.senderprotected AddressLocking.Request.senderprotected AddressPingData.senderprotected AddressEncryptHeader.serverprotected AddressFD_SOCK2.FdHeader.srvprotected final AddressFD_SOCK2.Request.suspectprotected final AddressVERIFY_SUSPECT.Entry.suspectprotected final AddressVERIFY_SUSPECT2.Entry.suspectprotected final AddressRSVP.Entry.targetprotected AddressAlternatingBundler.target_destFields in org.jgroups.protocols with type parameters of type AddressModifier and TypeFieldDescriptionprotected final Map<Address, SocketAddress> SimpleTCP.addr_tableCOUNTER.backup_coordsBackup coordinators.CENTRAL_LOCK.backupsDeprecated.protected LazyRemovalCache<Address, IpAddress> FD_SOCK.cacheCache of member addresses and their ServerSocket addressesprotected final ConcurrentMap<Address, PhysicalAddress> PDC.cacheprotected AgeOutCache<Address> UNICAST3.cacheDiscovery.DiscoveryCacheDisseminationTask.curr_mbrsprotected final ConcurrentMap<Address, BoundedHashMap<Long, Long>> SEQUENCER.delivery_tableprotected final Map<Address, PerDestinationBundler.SendBuffer> PerDestinationBundler.destsSTOMP.endpointsprivate final HashMap<Address, FRAG.FragmentationTable> FRAG.FragmentationList.frag_tablesprotected final ConcurrentMap<Address, ConcurrentMap<Long, FRAG2.FragEntry>> FRAG2.fragment_listprotected final ConcurrentMap<Address, ConcurrentMap<Integer, FRAG3.FragEntry>> FRAG3.fragment_listprotected static final Function<AsciiString, Map<Address, SHARED_LOOPBACK>> SHARED_LOOPBACK.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> UNICAST3.last_sync_sentKeep track of when a SEND_FIRST_SEQNO message was sent to a given senderDiscovery.DiscoveryCacheDisseminationTask.left_mbrsprotected LazyRemovalCache<Address, PhysicalAddress> Cache which maintains mappings between logical and physical addresses.FD_SOCK.FdHeader.mbrsprotected Collection<Address> FD_SOCK2.FdHeader.mbrsprotected Collection<? extends Address> PingData.mbrsBARRIER.mcast_queueprotected final Collection<Address> DISCARD.membersEXAMPLE.membersFailureDetection.membersFD_HOST.membersFD_SOCK.membersFRAG.membersFRAG2.membersFRAG3.membersRSVP.membersSIZE.membersTP.membersThe members of this group (updated when a member joins or leaves).UNICAST3.membersprotected final Map<Address, TransferQueueBundler2.Buffer> TransferQueueBundler2.messagesprotected Map<Address, BATCH.Buffer> BATCH.msgMapprotected Map<Address, BATCH2.Buffer> BATCH2.msgMapprotected ConcurrentMap<Address, BatchBundler.Buffer> BatchBundler.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>> ASYM_ENCRYPT.pub_mapFlowControl.receivedKeeps track of credits per member at the receiver.protected final ConcurrentMap<Address, MsgStats> STATS.receivedMaintains stats per receiverprotected final ConcurrentMap<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 ConcurrentMap<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_addrprotected SuppressLog<Address> Log to suppress identical warnings for messages from members in different clustersprotected SuppressLog<Address> Log to suppress identical warnings for messages from members with different (incompatible) versionsprotected 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> Cache keeping track of WHO_HAS requests for physical addresses (given a logical address) and expiring them after who_has_cache_timeout msUNICAST3.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()CENTRAL_LOCK.getCoord()Deprecated.SEQUENCER.getCoordinator()SEQUENCER2.getCoordinator()PDC.Mapping.getLogicalAddr()DAISYCHAIN.DaisyHeader.getOriginalSender()PDC.Mapping.getPhysicalAddr()PingData.getSender()Address[]FRAG.FragmentationList.getSenders()returns a list of all the senders that have fragmentation tables opened.DH_KEY_EXCHANGE.getServerLocation()abstract AddressKeyExchange.getServerLocation()Returns the address of the server, e.g.SSL_KEY_EXCHANGE.getServerLocation()ASYM_ENCRYPT.keyServerAddr()(package private) AddressUNICAST3.ReceiverEntry.realDest()Locking.Request.sender()EncryptHeader.server()Methods in org.jgroups.protocols that return types with arguments of type AddressModifier and TypeMethodDescriptionMERGE3.convertViews()UNICAST3.getAgeOutCache()FailureDetection.getTimestamps()FD_ALL.getTimestamps()FD_ALL2.getTimestamps()FD_ALL3.getTimestamps()Collection<? extends Address> PingData.mbrs()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 TypeMethodDescriptionprotected voidprotected voidvoidCOUNTER.ReconciliationTask.add(COUNTER.ReconcileResponse rsp, Address sender) voidFRAG.FragmentationList.add(Address sender, FRAG.FragmentationTable table) Adds a fragmentation table for this particular sender If this sender already has a fragmentation table, an IllegalArgumentException will be thrown.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 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) booleanSimpleTCP.addPhysicalAddressToCache(Address logical_addr, PhysicalAddress physical_addr) booleanTP.addPhysicalAddressToCache(Address logical_addr, PhysicalAddress physical_addr) protected booleanTP.addPhysicalAddressToCache(Address logical_addr, PhysicalAddress physical_addr, boolean overwrite) 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) voidUNICAST3.closeConnection(Address mbr) Removes and resets from connection table (which is already locked).voidUNICAST3.closeReceiveConnection(Address mbr) voidUNICAST3.closeSendConnection(Address mbr) protected booleanFD_SOCK2.connectTo(Address new_ping_dest, Membership mbrs) protected booleanprotected voidFD_SOCK2.connectToNextPingDest(Address already_suspect) protected booleanbooleanFRAG.FragmentationList.containsSender(Address sender) returns true if this sender already holds a fragmentation for this sender, false otherwiseprotected UNICAST3.ReceiverEntryUNICAST3.createReceiverEntry(Address sender, long seqno, short conn_id, Address dest) protected SSLSocketSSL_KEY_EXCHANGE.createSocketTo(Address target) protected voidprotected voidJDBC_PING2.delete(Connection conn, String clustername, Address addressToDelete) 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) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidCalled 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 a fragmentation table for this sender returns null if the sender doesn't have a fragmentation tableprotected InetAddressFD_HOST.getHostFor(Address mbr) protected List<Locking.Request> Locking.ClientLockTable.getPendingRequests(Address sender) 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) intUFC_NB.getQueuedMessagesTo(Address dest) longFlowControl.getReceiverCreditsFor(Address mbr) protected UNICAST3.ReceiverEntryUNICAST3.getReceiverEntry(Address sender, long seqno, boolean first, short conn_id, Address dest) longUFC.getSenderCreditsFor(Address mbr) 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 voidUNICAST3.handleAckReceived(Address sender, long seqno, short conn_id, int timestamp) Add the ACK to hashtable.sender.sent_msgsprotected 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 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 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 voidCENTRAL_LOCK2.handleLockInfoRequest(Address requester) Deprecated.protected voidLocking.handleLockInfoRequest(Address requester) Deprecated.protected voidCENTRAL_LOCK2.handleLockInfoResponse(Address sender, Locking.Request rsp) Deprecated.protected voidLocking.handleLockInfoResponse(Address sender, Locking.Request rsp) Deprecated.private voidCOUNTER.handleReconcileResponse(COUNTER.ReconcileResponse rsp, Address sender) protected voidUNICAST3.handleResendingOfFirstMessage(Address sender, int timestamp) We need to resend the first message with our conn_idprotected voidCOUNTER.handleResponse(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 voidUNICAST3.handleUpEvent(Address sender, Message msg, UnicastHeader3 hdr) protected voidUNICAST3.handleXmitRequest(Address sender, SeqnoList missing) booleanUNICAST3.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 booleanbooleanLocalTransport.isLocalMember(Address addr) Returns true if addr is a local member, false otherwiseprotected booleanUNICAST3.isLocalSiteMaster(Address dest) protected booleanbooleanUFC_NB.isQueuingTo(Address dest) ASYM_ENCRYPT.keyServerAddr(Address ks) private voidCOUNTER.logSending(Address dst, Object data) protected intRingBufferBundler.marshalMessagesToSameDestination(Address dest, Message[] buf, int start_index, int end_index, int max_bundle_size) protected intRingBufferBundlerLockless.marshalMessagesToSameDestination(Address dest, Message[] buf, int start_index, int available_msgs, int max_bundle_size) protected intRingBufferBundlerLockless2.marshalMessagesToSameDestination(Address dest, Message[] buf, int start_index, int end_index, int max_bundle_size) protected 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 received.voidprotected 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 voidbooleanremoves the fragmentation table from the list.protected voidprotected voidprotected voidprotected voidprotected voidSEQUENCER2.removeAndDeliver(Table<Message> win, Address sender) protected voidUNICAST3.removeAndDeliver(Table<Message> win, Address sender) 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) voidUNICAST3.removeReceiveConnection(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 voidUNICAST3.retransmit(SeqnoList missing, Address sender, Address real_dest) Sends a retransmit request to the given senderabstract voidprotected voidprotected voidLocking.send(Address dest, Locking.Request req) Deprecated.voidvoidprivate TransferQueueBundler2.Bufferprotected voidprotected voidvoidprotected voidCOUNTER.sendCounterNotFoundExceptionResponse(Address dest, Owner owner, String counter_name) protected voidCENTRAL_LOCK.sendCreateLockRequest(Address dest, String lock_name, Owner owner) Deprecated.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 voidCENTRAL_LOCK.sendDeleteLockRequest(Address dest, String lock_name) Deprecated.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 voidCENTRAL_LOCK2.sendLockInfoRequestTo(Locking.Request req, Address[] mbrs, Address exclude) Deprecated.protected voidAUTH.sendMergeRejectionMessage(Address dest) protected voidBaseBundler.sendMessageList(Address dest, Address src, List<Message> list) protected voidBatchBundler.Buffer.sendMessageList(Address dest, Address src, Message[] list, int length) protected voidPerDestinationBundler.SendBuffer.sendMessageList(Address dest, Address src, FastArray<Message> list) protected voidRemoveQueueBundler.sendMessageList(Address dest, Address src, List<Message> list) protected voidPerDestinationBundler.SendBuffer.sendMessages(Address dest, Address src, FastArray<Message> list) protected voidAUTH.sendRejectionMessage(byte type, Address dest, String error_msg) protected voidCOUNTER.sendRequest(Address dest, COUNTER.Request req) protected voidLocking.sendRequest(Address dest, Locking.Type type, String lock_name, int lock_id, Owner owner, long timeout, boolean is_trylock) Deprecated.protected voidLocking.sendRequest(Address dest, Locking.Type type, String lock_name, Owner owner, long timeout, boolean is_trylock) Deprecated.protected voidUNICAST3.sendRequestForFirstSeqno(Address dest, Address original_dest) protected voidCOUNTER.sendResponse(Address dest, COUNTER.Response<?> rsp) protected voidRSVP.sendResponse(Address dest, short id) protected voidSEQUENCER2.sendSeqnoResponse(Address original_sender, long seqno, int num_seqnos) protected voidPerDestinationBundler.SendBuffer.sendSingleMessage(Address dest, Message msg) voidSends a message to a given local member.protected voidprotected voidprotected voidprotected voidvoidTUNNEL.DefaultTUNNELPolicy.sendToAllMembers(String group, Address sender, byte[] data, int offset, int length) voidTUNNEL.TUNNELPolicy.sendToAllMembers(String group, Address sender, byte[] data, int offset, int length) voidTUNNEL.DefaultTUNNELPolicy.sendToSingleMember(String group, Address dest, Address sender, byte[] data, int offset, int length) voidTUNNEL.TUNNELPolicy.sendToSingleMember(String group, Address dest, Address sender, byte[] data, int offset, int length) protected voidTUNNEL.sendUnicast(Address dest, byte[] data, int offset, int length) 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 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 booleanVERIFY_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 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 belowprotected voidCENTRAL_LOCK.copyLocksTo(List<Address> new_joiners) Deprecated.MERGE3.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) (package private) voidDISCARD.DiscardDialog.handleView(Collection<Address> mbrs) protected Locking.ResponseLocking.ServerLock.handleView(List<Address> members) protected voidBATCH.handleViewChange(List<Address> mbrs) protected voidBATCH2.handleViewChange(List<Address> mbrs) protected voidFlowControl.handleViewChange(List<Address> mbrs) protected voidMFC.handleViewChange(List<Address> mbrs) protected voidUFC.handleViewChange(List<Address> mbrs) 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 voidvoidUNICAST3.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 AddressModifierConstructorDescriptionprotectedprotectedprotectedDaisyHeader(Address original_sender) protectedUnicast entry(package private)FragmentationTable(Address sender) Mapping(Address logical_addr, PhysicalAddress physical_addr, String logical_name) MyCheckBox(String name, Address member) PingData(Address sender, boolean is_server, String logical_name, PhysicalAddress physical_addr) ReceiverEntry(Table<Message> received_msgs, short recv_conn_id, Address real_dest) Request(FD_SOCK2.Request.Type type, Address suspect) protectedSendBuffer(Address dest) (package private)VerifyHeader(short type, Address from) (package private)VerifyHeader(short type, Address from) 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 TypeMethodDescriptionDNS_PING.getMembers(String dns_query, DNSResolver.DNSRecordType dns_record_type) Gets a list of IP addresses for the provided DNS query list and record type.AddressedDNSResolver.resolveAEntries(String dnsQuery, String srcPort) DefaultDNSResolver.resolveAEntries(String dnsQuery) DefaultDNSResolver.resolveAEntries(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
Fields in org.jgroups.protocols.pbcast declared as AddressModifier and TypeFieldDescriptionprotected AddressSTABLE.coordinatorprivate AddressFLUSH.flushCoordinatorDeprecated, for removal: This API element is subject to removal in a future version.Group member that requested FLUSH.protected 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.sender(package private) AddressNakAckHeader2.senderprotected AddressStreamingStateTransfer.state_providerprotected final AddressSTATE.StateOutputStream.stateRequesterFields in org.jgroups.protocols.pbcast with type parameters of type AddressModifier and TypeFieldDescriptionprotected 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 membersFLUSH.flushCompletedMapDeprecated, for removal: This API element is subject to removal in a future version.FLUSH.flushMembersDeprecated, for removal: This API element is subject to removal in a future version.FLUSH.flushNotCompletedMapDeprecated, for removal: This API element is subject to removal in a future version.GMS.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)FLUSH.reconcileOksDeprecated, for removal: This API element is subject to removal in a future version.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-membersFLUSH.suspectedDeprecated, for removal: This API element is subject to removal in a future version.private final Collection<Address> ParticipantGmsImpl.suspected_mbrsGmsImpl.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).Returns all members who are flagged as coordinatorGMS.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) protected Tuple<Collection<? extends Address>, Digest> FLUSH.readParticipantsAndDigest(byte[] buffer, int offset, int length) Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.jgroups.protocols.pbcast with parameters of type AddressModifier and TypeMethodDescriptionprotected voidMerger._handleMergeRequest(Address sender, MergeId merge_id, Collection<? extends Address> mbrs) (package private) voidClientGmsImpl.becomeSingletonMember(Address mbr) 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, boolean useFlushIfPresent) Makes this process join a group.voidClientGmsImpl.joinWithStateTransfer(Address local_addr, boolean useFlushIfPresent) voidCoordGmsImpl.joinWithStateTransfer(Address mbr, boolean useFlushIfPresent) abstract voidGmsImpl.joinWithStateTransfer(Address local_addr, boolean useFlushIfPresent) voidParticipantGmsImpl.joinWithStateTransfer(Address mbr, boolean useFlushIfPresent) private voidFLUSH.onFlushCompleted(Address address, Message m, FLUSH.FlushHeader header) Deprecated, for removal: This API element is subject to removal in a future version.private voidFLUSH.onStartFlush(Address flushStarter, Message msg, FLUSH.FlushHeader fh) Deprecated, for removal: This API element is subject to removal in a future version.protected voidSTATE_TRANSFER.punchHoleFor(Address member) protected voidStreamingStateTransfer.punchHoleFor(Address member) protected voidNAKACK2.removeAndDeliver(Table<Message> buf, Address sender, boolean loopback, AsciiString cluster_name) 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) (package private) voidClientGmsImpl.sendJoinMessage(Address coord, Address mbr, boolean joinWithTransfer, boolean useFlushIfPresent) 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.protected booleanGMS.wouldBeNewCoordinator(Address potential_new_coord) Checks whether the potential_new_coord would be the new coordinator (2nd in line)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 ByteArrayFLUSH.marshal(Collection<? extends Address> participants, Digest digest) Deprecated, for removal: This API element is subject to removal in a future version.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.private voidFLUSH.onSuspect(Collection<Address> addresses) Deprecated, for removal: This API element is subject to removal in a future version.private voidDeprecated, for removal: This API element is subject to removal in a future version.Starts the flush protocolprivate voidFLUSH.rejectFlush(Collection<? extends Address> participants, long viewId) Deprecated, for removal: This API element is subject to removal in a future version.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) private voidCoordGmsImpl.sendLeaveResponses(Collection<Address> leaving_members) 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.voidprivate voidFLUSH.startFlush(List<Address> flushParticipants) Deprecated, for removal: This API element is subject to removal in a future version.(package private) 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 headerprivateNakAckHeader2(byte type, Address sender) Constructor for retransmit requests (XMIT_REQs) (low and high define the range of msgs)StateGetter(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 TypeFieldDescription(package private) AddressGossipData.addrprotected final AddressGossipRouter.Entry.client_addrprotected AddressProtocol.local_addrprotected final AddressRouterStubManager.local_addr(package private) AddressGossipData.senderStateTransferInfo.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, ByteArrayDataOutputStream> GossipRouter.output_streamsMethods in org.jgroups.stack that return AddressModifier and TypeMethodDescriptionProtocol.addr()AddressGenerator.generateAddress()Deprecated.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 ByteArrayDataOutputStreamGossipRouter.getOutputStream(Address mbr, int size) protected voidGossipRouter.handleGetMembersRequest(Address sender, DataInput in) protected voidGossipRouter.handleHeartbeat(Address sender) protected voidGossipRouter.handleRegister(Address sender, DataInput in) voidvoidvoidGossipRouter.receive(Address sender, ByteBuffer buf) voidvoidprotected voidGossipRouter.removeAddressMapping(String group, Address addr) protected voidGossipRouter.removeFromAddressMappings(Address client_addr) protected voidprotected voidGossipRouter.route(String group, Address dest, ByteBuffer buf) voidRouterStub.sendToAllMembers(String group, Address sender, byte[] data, int offset, int length) protected voidGossipRouter.sendToMember(Address dest, byte[] buf, int offset, int len) protected voidGossipRouter.sendToMember(Address dest, ByteBuffer buf) protected voidGossipRouter.sendToMember(Address dest, GossipData request) voidRouterStub.sendToMember(String group, Address dest, Address sender, byte[] data, int offset, int length) <T extends Protocol>
TProtocol.setAddress(Address addr) 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, byte[] buf, int offset, int len) protected voidGossipRouter.sendToAllMembersInGroup(Set<Map.Entry<Address, GossipRouter.Entry>> dests, ByteBuffer buf) protected voidGossipRouter.sendToAllMembersInGroup(Set<Map.Entry<Address, GossipRouter.Entry>> dests, GossipData request) Constructors in org.jgroups.stack with parameters of type AddressModifierConstructorDescriptionEntry(Address client_addr, PhysicalAddress phys_addr, String logical_name) 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.tests
Fields in org.jgroups.tests declared as AddressModifier and TypeFieldDescriptionprivate final AddressUnicastTestRpc.Invoker.destprotected final AddressUnicastTest.Sender.destinationprivate AddressUnicastTestRpc.destinationprivate AddressUnicastTestRpc.local_addrprotected final AddressRoundTripRpc.Invoker.targetFields in org.jgroups.tests with type parameters of type AddressModifier and TypeFieldDescriptionprivate final Collection<Address> UnicastTestRpc.anycast_mbrsprivate final Collection<Address> UnicastTestRpc.Invoker.destsPingPong.membersMethods in org.jgroups.tests that return AddressModifier and TypeMethodDescriptionprivate AddressFlowControlTest.getReceiver()protected AddressUnicastTest.getReceiver()private AddressUnicastTestRpc.getReceiver()Constructors in org.jgroups.tests with parameters of type AddressModifierConstructorDescriptionInvoker(short id, CountDownLatch latch, AtomicInteger sent_msgs, Address target) Invoker(Address dest, RequestOptions options, CountDownLatch latch) Constructor parameters in org.jgroups.tests with type arguments of type AddressModifierConstructorDescriptionInvoker(Collection<Address> dests, RequestOptions options, CountDownLatch latch) -
Uses of Address in org.jgroups.tests.perf
Fields in org.jgroups.tests.perf declared as AddressModifier and TypeFieldDescriptionprotected AddressMPerf.local_addrprotected AddressMPerfRpc.local_addrprivate AddressProgrammaticUPerf.local_addrprivate static AddressProgrammaticUPerf2.local_addrprivate AddressUPerf.local_addrprotected AddressMPerfRpc.result_collectorprotected Address[]MPerf.Result.sourcesFields in org.jgroups.tests.perf with type parameters of type AddressModifier and TypeFieldDescriptionprotected ConcurrentHashMap<Address, LongAdder> MPerf.MessageCounter.countMapProgrammaticUPerf.Invoker.destsProgrammaticUPerf2.Invoker.destsUPerf.Invoker.destsMPerf.membersMPerfRpc.membersProgrammaticUPerf.membersProgrammaticUPerf2.membersUPerf.membersprotected final ConcurrentMap<Address, MPerfRpc.Stats> MPerfRpc.received_msgsMaintains stats per sender, will be sent to perf originator when all messages have been receivedProgrammaticUPerf.Invoker.targetsProgrammaticUPerf2.Invoker.targetsUPerf.Invoker.targetsMethods in org.jgroups.tests.perf that return AddressModifier and TypeMethodDescriptionprivate AddressUPerf.getReceiver()Picks the next member in the viewprivate AddressProgrammaticUPerf.Invoker.pickTarget()private AddressProgrammaticUPerf2.Invoker.pickTarget()private AddressUPerf.Invoker.pickTarget()Methods in org.jgroups.tests.perf that return types with arguments of type AddressModifier and TypeMethodDescriptionMPerf.getSenders()MPerfRpc.getSenders()MPerf.MessageCounter.snapshot()Methods in org.jgroups.tests.perf with parameters of type AddressModifier and TypeMethodDescriptionvoidUPerf.acceptResults(Address sender, PerfUtil.Results results) Called by worker when done; response toUPerf.startTest()voidMPerf.MessageCounter.addMessage(Address source) voidMPerf.MessageCounter.addMessage(Address source, long count) voidprotected voidMPerf.handleConfigRequest(Address sender) voidMPerfRpc.handleData(Address src, byte[] payload, long seqno, boolean check_order) protected ObjectMPerfRpc.invokeRpc(short method_id, Address dest, RequestOptions options, Object... args) protected static StringMPerf.printPerSender(Address[] sender, long[] received, long msg_size, long diff) voidMPerfRpc.result(Address sender, MPerfRpc.Result res) Called when a result from a node is receivedprotected voidMPerf.send(Address target, Object payload, byte header, Message.Flag... flags) voidMPerfRpc.sendingDone(Address sender) protected voidMPerf.sendNoException(Address target, Object payload, byte header, Message.Flag... flags) protected voidUPerf.sendResults(Address dest, PerfUtil.Results results) voidMPerfRpc.startSending(Address initiator) voidMethod parameters in org.jgroups.tests.perf with type arguments of type AddressModifier and TypeMethodDescriptionprivate voidProgrammaticUPerf.Invoker.pickAnycastTargets(List<Address> anycast_targets) private voidProgrammaticUPerf2.Invoker.pickAnycastTargets(List<Address> anycast_targets) private voidUPerf.Invoker.pickAnycastTargets(List<Address> anycast_targets) Constructors in org.jgroups.tests.perf with parameters of type AddressConstructor parameters in org.jgroups.tests.perf with type arguments of type AddressModifierConstructorDescriptionInvoker(Collection<Address> dests, CountDownLatch latch) Invoker(Collection<Address> dests, CountDownLatch latch) Invoker(Collection<Address> dests, CountDownLatch latch) -
Uses of Address in org.jgroups.tests.rt.transports
Methods in org.jgroups.tests.rt.transports that return AddressMethods in org.jgroups.tests.rt.transports that return types with arguments of type AddressMethods in org.jgroups.tests.rt.transports with parameters of type Address -
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.Fields in org.jgroups.util declared as AddressModifier and TypeFieldDescriptionprotected AddressOwner.addressprotected AddressThreadPool.addressprotected AddressMessageBatch.destThe destination address.private AddressMergeId.initiatorprotected final AddressDigest.Entry.memberprotected 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 TypeFieldDescriptionprotected static final LazyRemovalCache<Address, String> NameCache.cacheKeeps track of associations between addresses and logical namesCreditMap.creditsUtil.FUNCprotected final ConcurrentMap<Address, MaxOneThreadPerSender.Entry> MaxOneThreadPerSender.MessageTable.mapMessageCache.mapAckCollector.missing_acksList of members from whom we haven't received an ACK yetprotected static final LazyRemovalCache.Printable<Address, LazyRemovalCache.Entry<String>> NameCache.print_functionResponseCollector.responsesprotected 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()Digest.Entry.getMember()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()static AddressUtil.readAddress(DataInput in) static Address[]Util.readAddresses(DataInput in) private static AddressUtil.readOtherAddress(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 contentsCreditMap.getMembersWithCreditsLessThan(long min_credits) CreditMap.getMembersWithInsufficientCredits(long credit_needed) ResponseCollector.getMissing()Returns a list of members which didn't send a valid responseResponseCollector.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 TypeMethodDescriptionvoidvoidstatic voidbooleanbooleanvoidRpcStats.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) static voidUtil.bufferToArray(Address sender, ByteBuffer buf, Receiver target) intintCompares this UUID with the specified UUID.boolean(package private) 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)CreditMap.putIfAbsent(Address key) static voidvoidstatic voidUtil.removeFromViews(Address mbr, JChannel... channels) voidvoidAckCollector.reset(Collection<Address> expected_acks, Address... exclude) voidstatic booleanChecks whether 2 Addresses are on the same hostThreadPool.setAddress(Address a) static intstatic longvoidvoidvoidstatic 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) private static voidUtil.writeOtherAddress(Address addr, DataOutput out) 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) static 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.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) booleanbooleanvoidRpcStats.retainAll(Collection<Address> members) static longUtil.size(Collection<? extends Address> addrs) Returns the marshalled size of a Collection of Addresses.static booleanUtil.startFlush(JChannel c, List<Address> flushParticipants) Performs the flush of the given channel and the specified flush participantsstatic booleanUtil.startFlush(JChannel c, List<Address> flushParticipants, int numberOfAttempts, long randomSleepTimeoutFloor, long randomSleepTimeoutCeiling) Performs the flush of the given channel for the specified flush participants and the given number of attempts along with random sleep time after each such attempt.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 !protectedEntry(Address sender, boolean mcast, AsciiString cluster_name) privateMessageBatch(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) ResponseCollectorTask(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) ResponseCollectorTask(Collection<Address> members)