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 debug support, including testing, profiling, and a graphical view of a protocol stack.
Provides demonstrations of JGroups functionality.
A distributed whiteboard applet implemented using JGroups.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Supports probabilistic broadcasts.
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) addressFields in org.jgroups declared as AddressModifier and TypeFieldDescriptionprotected AddressMessage.dest_addrprotected AddressJChannel.local_addrstatic final AddressGlobal.NULL_ADDRprotected AddressMessage.src_addrFields in org.jgroups with type parameters of type AddressModifier and TypeFieldDescriptionView.membersA list containing all the members of the view This list is always ordered, with the coordinator being the first member.Methods in org.jgroups that return AddressModifier and TypeMethodDescriptionMembership.elementAt(int index) Returns the component at the specified indexabstract AddressChannel.getAddress()Returns the channel's own address.JChannel.getAddress()Returns the local address of the channel (null if the channel is closed)ViewId.getCoordAddress()returns the address of the member that issued this viewView.getCreator()returns the creator of this view if this view was created with the empty constructur, null will be returnedMessage.getDest()abstract AddressChannel.getLocalAddress()Deprecated.JChannel.getLocalAddress()Deprecated.Message.getSrc()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 a reference to the List of members (ordered) Do NOT change this list, hence your will invalidate the view Make a copy if you have to modify it.Methods in org.jgroups with parameters of type AddressModifier and TypeMethodDescriptionvoidAdds a new member to this membership.voidvoidChannelListener.channelReconnected(Address addr) Deprecated.voidChannelListenerAdapter.channelReconnected(Address addr) abstract voidConnects the channel to a group and fetches the statevoidConnects this channel to a group and gets a state from a specified state provider.voidJChannel.connect(String cluster_name, Address target, String state_id, long timeout, boolean useFlushIfPresent) Connects this channel to a group and gets a state from a specified state provider.booleanReturns true if the provided member belongs to this membershipbooleanView.containsMember(Address mbr) returns true, if this view contains a certain memberabstract StringReturns the logical name of a given member.abstract booleanRetrieve the state of the group.abstract booleanFetches a partial state identified by state_id.booleanRetrieves a full state from the target member.booleanRetrieves a substate (or partial state) indicated by state_id from the target member.booleanRetrieves a substate (or partial state) indicated by state_id from the target member.protected booleanRetrieves a substate (or partial state) indicated by state_id from the target member.voidremoves an member from the membership.abstract voidabstract voidabstract voidChannel.send(Address dst, Address src, Serializable obj) Helper method.voidvoidvoidJChannel.send(Address dst, Address src, Serializable obj) creates a new message with the destination address, and the source address and the object as the message valuevoidvoidvoidvoidCalled whenever a member is suspected of having crashed, but has not yet been excluded.voidvoidMessage.writeToNoAddrs(Address src, DataOutputStream out) Writes the message to the output stream, but excludes the dest and src addresses unless the src address given as argument is different from the message's src addressMethod parameters in org.jgroups with type arguments of type AddressModifier and TypeMethodDescriptionfinal voidMembership.add(Collection<Address> v) Adds a list of members to this membershipvoidMembership.merge(Collection<Address> new_mems, Collection<Address> suspects) merges membership with the new members and removes suspects The Merge method will remove all the suspects and add in the new members.voidMembership.remove(Collection<Address> v) removes all the members contained in v from this membershipvoidMembership.set(Collection<Address> v) Clear the membership and adds all members of v This method will clear out all the old members of this membership by invoking theClearmethod.abstract booleanChannel.startFlush(List<Address> flushParticipants, boolean automatic_resume) booleanJChannel.startFlush(List<Address> flushParticipants, boolean automatic_resume) Performs a partial flush in a cluster for flush participants.abstract voidvoidConstructors in org.jgroups with parameters of type AddressModifierConstructorDescriptionCreates a new viewPublic constructorPublic constructorConstructs a message.Public constructorView(Address creator, long id, Collection<Address> members) Creates a new viewCreates 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 member ship object with the initial members.Creates a new viewCreates a new viewView(Address creator, long id, Collection<Address> members) Creates a new viewView(ViewId vid, Collection<Address> members) Creates a new view -
Uses of Address in org.jgroups.blocks
Fields in org.jgroups.blocks declared as AddressModifier and TypeFieldDescriptionprotected AddressMessageDispatcher.local_addrprotected AddressRequestCorrelator.local_addrThe address of this group memberprotected final AddressUnicastRequest.targetFields in org.jgroups.blocks with type parameters of type AddressModifier and TypeFieldDescriptionAbstractConnectionMap.connsCollection<? extends Address> RequestCorrelator.MultiDestinationHeader.exclusion_listContains a list of members who should not receive the request (others will drop).protected final Collection<Address> MessageDispatcher.membersMethods in org.jgroups.blocks that return AddressModifier and TypeMethodDescriptionBasicConnectionTable.getLocalAddress()DistributedQueue.getLocalAddress()NotificationBus.getLocalAddress()Deprecated.PartitionedHashMap.getLocalAddress()ReplCache.getLocalAddress()ReplicatedHashMap.getLocalAddress()ReplicatedTree.getLocalAddress()RequestCorrelator.getLocalAddress()TCPConnectionMap.getLocalAddress()Defines a hash function to pick the right node from the list of cluster nodes.Methods in org.jgroups.blocks that return types with arguments of type AddressModifier and TypeMethodDescriptionRequestOptions.getExclusionList()ReplicatedTree.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 TypeMethodDescriptionvoidAbstractConnectionMap.addConnection(Address address, V conn) RpcDispatcher.callRemoteMethod(Address dest, String method_name, Object[] args, Class[] types, int mode, long timeout) Deprecated.RpcDispatcher.callRemoteMethod(Address dest, String method_name, Object[] args, Class[] types, RequestOptions options) RpcDispatcher.callRemoteMethod(Address dest, String method_name, Object[] args, String[] signature, int mode, long timeout) Deprecated.RpcDispatcher.callRemoteMethod(Address dest, MethodCall call) Deprecated.RpcDispatcher.callRemoteMethod(Address dest, MethodCall method_call, int mode, long timeout) Deprecated.RpcDispatcher.callRemoteMethod(Address dest, MethodCall method_call, int mode, long timeout, boolean oob) Deprecated.RpcDispatcher.callRemoteMethod(Address dest, MethodCall call, RequestOptions options) <T> NotifyingFuture<T> RpcDispatcher.callRemoteMethodWithFuture(Address dest, MethodCall call) Deprecated.<T> NotifyingFuture<T> RpcDispatcher.callRemoteMethodWithFuture(Address dest, MethodCall method_call, int mode, long timeout, boolean oob) Deprecated.<T> NotifyingFuture<T> RpcDispatcher.callRemoteMethodWithFuture(Address dest, MethodCall call, RequestOptions options) voidRpcDispatcher.channelReconnected(Address new_addr) voidAbstractConnectionMap.ConnectionMapListener.connectionClosed(Address address) voidBasicConnectionTable.ConnectionListener.connectionClosed(Address peer_addr) booleanTCPConnectionMap.connectionEstablishedTo(Address addr) voidAbstractConnectionMap.ConnectionMapListener.connectionOpened(Address address, V conn) voidBasicConnectionTable.ConnectionListener.connectionOpened(Address peer_addr) protected RequestCorrelatorMessageDispatcher.createRequestCorrelator(Object transport, RequestHandler handler, Address local_addr) NotificationBus.getCacheFromMember(Address mbr, long timeout, int max_tries) Deprecated.Determines the coordinator and asks it for its cache.ConnectionMap.getConnection(Address dest) booleanAbstractConnectionMap.hasConnection(Address address) booleanAbstractConnectionMap.hasOpenConnection(Address address) booleanRspFilter.isAcceptable(Object response, Address sender) Determines whether a response from a given sender should be added to the response list of the requestvoidNotificationBus.Consumer.memberJoined(Address mbr) voidNotificationBus.Consumer.memberLeft(Address mbr) protected voidAbstractConnectionMap.notifyConnectionClosed(Address address) protected voidAbstractConnectionMap.notifyConnectionOpened(Address address, V conn) protected voidPullPushAdapter.notifySuspect(Address suspected_mbr) Deprecated.voidCalls the receiver callback.voidvoidCalls the receiver callback.voidvoidGroupRequest.receiveResponse(Object response_value, Address sender) Callback (called by RequestCorrelator or Transport).voidMultiRequest.receiveResponse(Object response_value, Address sender) Callback (called by RequestCorrelator or Transport).abstract voidRequest.receiveResponse(Object response_value, Address sender) voidRspCollector.receiveResponse(Object response_value, Address sender) voidUnicastRequest.receiveResponse(Object response_value, Address sender) Callback (called by RequestCorrelator or Transport).voidRequestCorrelator.receiveSuspect(Address mbr) Event.SUSPECT event received from a layer below.voidAbstractConnectionMap.removeConnection(Address address) voidBasicConnectionTable.removeConnection(Address addr) Removeaddrfrom connection table.protected voidConnectionTableNIO.runRequest(Address addr, ByteBuffer buf) voidvoidvoidNotificationBus.sendNotification(Address dest, Serializable n) Deprecated.Pack the argument in a Info, serialize that one into the message buffer and send the messagevoidRequestCorrelator.sendUnicastRequest(long id, Address target, Message msg, RspCollector coll) Sends a request to a single destinationRequestOptions.setExclusionList(Address... mbrs) voidRequestCorrelator.setLocalAddress(Address local_addr) voidDeprecated.voidCalled when a member is suspectedvoidCalled when a member is suspectedvoidCallback (called by RequestCorrelator or Transport).voidNotify membership listener that some node was suspected.voidCallback (called by RequestCorrelator or Transport).voidDeprecated.voidvoidvoidvoidCalled when a member is suspectedabstract voidvoidvoidCallback (called by RequestCorrelator or Transport).voidCallback for notification that one node is suspectedMethod parameters in org.jgroups.blocks with type arguments of type AddressModifier and TypeMethodDescriptionRpcDispatcher.callRemoteMethods(Collection<Address> dests, String method_name, Object[] args, Class[] types, RequestOptions options) RpcDispatcher.callRemoteMethods(Collection<Address> dests, MethodCall method_call, RequestOptions options) Invokes a method in all members contained in dests (or all members if dests is null).RpcDispatcher.callRemoteMethods(Vector<Address> dests, String method_name, Object[] args, Class[] types, int mode, long timeout) Deprecated.RpcDispatcher.callRemoteMethods(Vector<Address> dests, String method_name, Object[] args, Class[] types, int mode, long timeout, boolean use_anycasting) Deprecated.RpcDispatcher.callRemoteMethods(Vector<Address> dests, String method_name, Object[] args, Class[] types, int mode, long timeout, boolean use_anycasting, RspFilter filter) Deprecated.RpcDispatcher.callRemoteMethods(Vector<Address> dests, String method_name, Object[] args, String[] signature, int mode, long timeout) Deprecated.RpcDispatcher.callRemoteMethods(Vector<Address> dests, String method_name, Object[] args, String[] signature, int mode, long timeout, boolean use_anycasting) Deprecated.RpcDispatcher.callRemoteMethods(Vector<Address> dests, MethodCall method_call, int mode, long timeout) Deprecated.RpcDispatcher.callRemoteMethodsWithFuture(Collection<Address> dests, MethodCall method_call, RequestOptions options) RpcDispatcher.callRemoteMethodsWithFuture(Vector<Address> dests, MethodCall method_call) Deprecated.RpcDispatcher.callRemoteMethodsWithFuture(Vector<Address> dests, MethodCall method_call, int mode, long timeout, boolean use_anycasting, boolean oob, RspFilter filter) Deprecated.protected GroupRequestMessageDispatcher.cast(Collection<Address> dests, Message msg, RequestOptions options, boolean block_for_results) MessageDispatcher.castMessage(Collection<Address> dests, Message msg, RequestOptions options) Sends a message to the members listed in dests.MessageDispatcher.castMessageWithFuture(Collection<Address> dests, Message msg, RequestOptions options) Defines a hash function to pick the right node from the list of cluster nodes.voidReplCache.ConsistentHashFunction.installNodes(List<Address> new_nodes) voidReplCache.HashFunction.installNodes(List<Address> nodes) When the topology changes, this method will be called.voidAbstractConnectionMap.retainAll(Collection<Address> current_mbrs) Removes all connections which are not in current_mbrsvoidBasicConnectionTable.retainAll(Collection<Address> current_mbrs) Removes all connections from ConnectionTable which are not in current_mbrsvoidTCPConnectionMap.retainAll(Collection<Address> members) voidRequestCorrelator.sendRequest(long id, Collection<Address> dest_mbrs, Message msg, RspCollector coll, RequestOptions options) Sends a request to a group.voidRequestCorrelator.sendRequest(long id, List<Address> dest_mbrs, Message msg, RspCollector coll) voidReplicatedHashMap.Notification.viewChange(View view, Vector<Address> new_mbrs, Vector<Address> old_mbrs) Constructors in org.jgroups.blocks with parameters of type AddressModifierConstructorDescriptionGroupRequest(Message m, RequestCorrelator corr, Address target, RequestOptions options) MultiRequest(Message m, RequestCorrelator corr, Address target, RequestOptions options, int expected_mbrs) RequestCorrelator(short id, Object transport, RequestHandler handler, Address local_addr) RequestCorrelator(Object transport, RequestHandler handler, Address local_addr) RequestCorrelator(String name, Object transport, RequestHandler handler, boolean deadlock_detection, Address local_addr) Deprecated.RequestCorrelator(String name, Object transport, RequestHandler handler, boolean deadlock_detection, Address local_addr, boolean concurrent_processing) Deprecated.RequestCorrelator(String name, Object transport, RequestHandler handler, Address local_addr) Deprecated.RequestCorrelator(String name, Object transport, RequestHandler handler, Address local_addr, boolean concurrent_processing) Deprecated.UnicastRequest(Message m, RequestCorrelator corr, Address target, RequestOptions options) UnicastRequest(Message m, Transport transport, Address target, RequestOptions options) Constructor parameters in org.jgroups.blocks with type arguments of type AddressModifierConstructorDescriptionGroupRequest(Message msg, RequestCorrelator corr, Collection<Address> targets, RequestOptions options) GroupRequest(Message m, Transport transport, Collection<Address> mbrs, RequestOptions options) MultiDestinationHeader(byte type, long id, boolean rsp_expected, short corr_id, Collection<Address> exclusion_list) MultiRequest(Message m, RequestCorrelator corr, Collection<Address> mbrs, RequestOptions options, int expected_mbrs) MultiRequest(Message m, Transport transport, Collection<Address> mbrs, RequestOptions options, int expected_mbrs) -
Uses of Address in org.jgroups.blocks.locking
Fields in org.jgroups.blocks.locking declared as AddressMethods in org.jgroups.blocks.locking that return AddressConstructors in org.jgroups.blocks.locking with parameters of type Address -
Uses of Address in org.jgroups.blocks.mux
Methods in org.jgroups.blocks.mux with parameters of type AddressModifier and TypeMethodDescriptionprotected RequestCorrelatorMuxMessageDispatcher.createRequestCorrelator(Object transport, RequestHandler handler, Address localAddr) protected RequestCorrelatorMuxRpcDispatcher.createRequestCorrelator(Object transport, RequestHandler handler, Address localAddr) booleanNoMuxHandlerRspFilter.isAcceptable(Object response, Address sender) voidMuxRequestCorrelator.sendUnicastRequest(long id, Address target, Message msg, RspCollector coll) Method parameters in org.jgroups.blocks.mux with type arguments of type AddressModifier and TypeMethodDescriptionprotected GroupRequestMuxMessageDispatcher.cast(Collection<Address> dests, Message msg, RequestOptions options, boolean blockForResults) protected GroupRequestMuxRpcDispatcher.cast(Collection<Address> dests, Message msg, RequestOptions options, boolean blockForResults) voidMuxRequestCorrelator.sendRequest(long requestId, Collection<Address> dest_mbrs, Message msg, RspCollector coll, RequestOptions options) Constructors in org.jgroups.blocks.mux with parameters of type AddressModifierConstructorDescriptionMuxRequestCorrelator(short id, Object transport, RequestHandler handler, Address localAddr) -
Uses of Address in org.jgroups.debug
Methods in org.jgroups.debug that return AddressMethods in org.jgroups.debug with parameters of type AddressModifier and TypeMethodDescriptionvoidvoidbooleanSimulator.checkForDropMessage(Message msg, Address dest) booleanbooleanSimulator.receiverDropFault(Message msg, Address src) booleanSimulator.senderDropFault(Message msg, Address dest) voidSimulator.setLocalAddress(Address addr) voidSimulator.simulatePartition(Address[] partition) -
Uses of Address in org.jgroups.demos
Fields in org.jgroups.demos declared as AddressMethods in org.jgroups.demos with parameters of type AddressModifier and TypeMethodDescriptionvoidDraw.channelReconnected(Address addr) static StringRelayDemoRpc.handleMessage(String msg, Address sender) voidNotificationBusDemo.memberJoined(Address mbr) voidNotificationBusDemo.memberLeft(Address mbr) voidvoidvoidvoidCalled when a member is suspected -
Uses of Address in org.jgroups.demos.wb
Fields in org.jgroups.demos.wb declared as AddressMethods in org.jgroups.demos.wb with parameters of type Address -
Uses of Address in org.jgroups.mux
Methods in org.jgroups.mux that return AddressMethods in org.jgroups.mux with parameters of type AddressModifier and TypeMethodDescriptionvoidDeprecated.booleanDeprecated.voidMuxChannel.send(Address dst, Address src, Serializable obj) Deprecated.Constructors in org.jgroups.mux with parameters of type Address -
Uses of Address in org.jgroups.protocols
Fields in org.jgroups.protocols declared as AddressModifier and TypeFieldDescriptionprotected final AddressExecuting.Owner.addressprotected AddressCENTRAL_EXECUTOR.coordprotected AddressCENTRAL_LOCK.coordprotected AddressRELAY.coordprotected AddressDAISYCHAIN.local_addrprotected AddressDiscovery.local_addrprotected AddressExecuting.local_addrprotected AddressFD.local_addrprotected AddressLocking.local_addrprotected AddressRELAY.local_addrprotected AddressSCOPE.local_addrprotected AddressSTOMP.local_addrprotected AddressTP.local_addrThe address (host and port) of this member.protected AddressDAISYCHAIN.nextprotected AddressRELAY.RelayHeader.original_senderprotected AddressFD.ping_destFields in org.jgroups.protocols with type parameters of type AddressModifier and TypeFieldDescriptionExecuting._consumersAvailableThis is stored on the coordinator side.Executing._runRequestsThis is stored on the coordinator side.CENTRAL_EXECUTOR.backupsCENTRAL_LOCK.backupsSTOMP.endpointsPEER_LOCK.PeerLock.grantsprotected LazyRemovalCache<Address, PhysicalAddress> Cache which maintains mappings between logical and physical addresses.Discovery.membersFD.membersTP.membersThe members of this group (updated when a member joins or leaves).Members from which we select ping_dest.protected static final LazyRemovalCache.Printable<Address, PhysicalAddress> protected final ConcurrentMap<Address, ConcurrentMap<Short, SCOPE.MessageQueue>> SCOPE.queuesUsed to find the correct AckReceiverWindow on message reception and deliver it in the right orderprotected final Map<Address, FlowControl.Credit> FlowControl.receivedKeeps track of credits per member at the receiver.protected final Map<Address, FlowControl.Credit> UFC.sentMapinvalid input: '<'Address,Long>: keys are members, values are credits left.protected final BoundedList<Address> FD_ALL.suspected_mbrsFD_SOCK.suspected_mbrsRELAY.ViewData.uuidsprotected AgeOutCache<Address> Cache keeping track of WHO_HAS requests for physical addresses (given a logical address) and expiring them after 5000msMethods in org.jgroups.protocols that return AddressModifier and TypeMethodDescriptionExecuting.Owner.getAddress()PingData.getAddress()TP.ProtocolAdapter.getAddress()CENTRAL_EXECUTOR.getCoord()CENTRAL_LOCK.getCoord()PingData.getCoordAddress()SEQUENCER.getCoordinator()protected AddressENCRYPT.getKeyServerAddr()protected AddressENCRYPT.getLocal_addr()SEQUENCER.getLocalAddress()SEQUENCER.SequencerHeader.getOriginalSender()Methods in org.jgroups.protocols that return types with arguments of type AddressModifier and TypeMethodDescriptionUNICAST.getAgeOutCache()UNICAST2.getAgeOutCache()PingData.getMembers()TP.ProtocolAdapter.getMembers()Methods in org.jgroups.protocols with parameters of type AddressModifier and TypeMethodDescriptionvoidDISCARD.addIgnoreMember(Address sender) Messages from this sender will get droppedprotected voidTP.addPhysicalAddressToCache(Address logical_addr, PhysicalAddress physical_addr) protected StringFILE_PING.addressAsString(Address address) protected voidFD.Broadcaster.addSuspectedMember(Address mbr) Adds a suspected member.voidFD.BroadcastTask.addSuspectedMember(Address suspect) protected longFlowControl.adjustCredit(Map<Address, FlowControl.Credit> map, Address sender, int length) Check whether sender has enough credits left.voidFRAG2.clearFragmentsFor(Address mbr) voidSCOPE.clearQueue(Address member) protected voidTCPGOSSIP.connect(RouterStub stub, String group, Address logical_addr) voidTUNNEL.TUNNELPolicy.connect(List<RouterStub> stubs, String group, Address addr, String logical_name, List<PhysicalAddress> phys_addrs) protected voidTCPGOSSIP.connectAllStubs(String group, Address logical_addr) static RELAY.RelayHeaderRELAY.RelayHeader.createDisseminateHeader(Address original_sender) voidDiscovery.discoveryRequestReceived(Address sender, String logical_name, Collection<PhysicalAddress> physical_addrs) voidTCPPING.discoveryRequestReceived(Address sender, String logical_name, Collection<PhysicalAddress> physical_addrs) protected voidTP.dispatchToThreadPool(Executor pool, Address sender, byte[] data, int offset, int length) protected voidvoidCalled by AgeOutCache, to removed expired connectionsvoidCalled by AgeOutCache, to removed expired connectionsprotected SCOPE.MessageQueueSCOPE.getOrCreateQueue(Address sender, short scope) protected PhysicalAddressTP.getPhysicalAddressFromCache(Address logical_addr) protected voidExecuting.handleConsumerFoundResponse(Address consumer) protected voidExecuting.handleConsumerReadyRequest(Address source) 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, FlowControl.Credit> map, Address sender, long requested_credits) protected abstract ObjectFlowControl.handleDownMessage(Event evt, Message msg, Address dest, int length) protected ObjectMFC.handleDownMessage(Event evt, Message msg, Address dest, int length) protected ObjectUFC.handleDownMessage(Event evt, Message msg, Address dest, int length) protected voidExecuting.handleExceptionResponse(Address source, Executing.Request req) protected voidExecuting.handleInterruptRequest(Address source, short requestId) protected voidLocking.ClientLock.handleLockGrantedResponse(Owner owner, Address sender) protected voidLocking.handleLockGrantedResponse(String lock_name, Owner owner, Address sender) protected voidPEER_LOCK.PeerLock.handleLockGrantedResponse(Owner owner, Address sender) protected voidExecuting.handleNewConsumer(Address sender) protected voidExecuting.handleNewRunRequest(Address sender) protected voidExecuting.handleRemoveConsumer(Address sender) protected voidExecuting.handleRemoveRunRequest(Address sender) protected voidExecuting.handleTaskRejectedResponse(Address source, short requestId) protected voidExecuting.handleTaskRequest(Address source) protected voidExecuting.handleTaskSubmittedRequest(Runnable runnable, Address source, short requestId) protected voidExecuting.handleValueResponse(Address source, Executing.Request req) protected booleanDoes the payload match the 'site' ID.voidConnectionMap.Receiver interfaceprotected voidSubclasses must call this method when a unicast or multicast message has been received.protected voidTP.registerLocalAddress(Address addr) Associates the address with the physical address fetched from the cacheprotected voidprotected voidprotected voidvoidUNICAST.removeConnection(Address mbr) Removes and resets from connection table (which is already locked).voidUNICAST2.removeConnection(Address mbr) Removes and resets from connection table (which is already locked).voidDISCARD.removeIgnoredMember(Address member) protected voidTP.removeLogicalAddressFromCache(Address logical_addr) voidSCOPE.removeScope(Address member, short scope) voidSMACK.retransmit(long seqno, Message msg, Address dest) voidUNICAST2.retransmit(long first_seqno, long last_seqno, Address sender) abstract voidvoidvoidprotected voidSerializes and sends a message.protected voidprotected voidCENTRAL_LOCK.sendCreateLockRequest(Address dest, String lock_name, Owner owner) protected voidFlowControl.sendCredit(Address dest, long credits) protected voidFlowControl.sendCreditRequest(Address dest, Long credits_needed) We cannot send this request as OOB messages, 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) protected voidAUTH.sendJoinRejectionMessage(Address dest, String error_msg) protected voidAUTH.sendMergeRejectionMessage(Address dest, String error_msg) protected voidCENTRAL_EXECUTOR.sendNewConsumerRequest(Address sender) protected abstract voidExecuting.sendNewConsumerRequest(Address source) protected voidCENTRAL_EXECUTOR.sendNewRunRequest(Address sender) protected abstract voidExecuting.sendNewRunRequest(Address source) protected voidAUTH.sendRejectionMessage(byte type, Address dest, String error_msg) protected voidCENTRAL_EXECUTOR.sendRemoveConsumerRequest(Address sender) protected abstract voidExecuting.sendRemoveConsumerRequest(Address source) protected voidCENTRAL_EXECUTOR.sendRemoveRunRequest(Address sender) protected abstract voidExecuting.sendRemoveRunRequest(Address source) protected voidExecuting.sendRequest(Address dest, Executing.Type type, short requestId, Object object) protected voidLocking.sendRequest(Address dest, Locking.Type type, String lock_name, Owner owner, long timeout, boolean is_trylock) protected voidUNICAST2.sendStableMessage(Address dest, long low, long high) protected voidSHARED_LOOPBACK.sendToSingleMember(Address dest, byte[] buf, int offset, int length) protected voidTP.sendToSingleMember(Address dest, byte[] buf, int offset, int length) voidTUNNEL.TUNNELPolicy.sendToSingleMember(List<RouterStub> stubs, String group, Address dest, byte[] data, int offset, int length) protected voidRELAY.sendViewOnLocalCluster(Address dest, RELAY.ViewData data, boolean use_seperate_thread) protected voidRELAY.sendViewOnLocalCluster(Address dest, View remote_view, View global_view, boolean use_seperate_thread) protected voidTP.setInAllThreadFactories(String cluster_name, Address local_address, String pattern) protected voidENCRYPT.setKeyServerAddr(Address keyServerAddr) protected voidENCRYPT.setLocal_addr(Address local_addr) voidDISCARD.setLocalAddress(Address localAddress) protected voidPurge all messages in window for local_addr, which are invalid input: '<'= low.protected static voidTP.writeMessageList(Address dest, Address src, List<Message> msgs, DataOutputStream dos, boolean multicast) Write a lits of messages with the same destination and *mostly* the same src addresses.Method parameters in org.jgroups.protocols with type arguments of type AddressModifier and TypeMethodDescriptionprotected longFlowControl.adjustCredit(Map<Address, FlowControl.Credit> map, Address sender, int length) Check whether sender has enough credits left.protected voidCENTRAL_LOCK.copyLocksTo(List<Address> new_joiners) protected voidCENTRAL_EXECUTOR.copyQueueTo(List<Address> new_joiners) protected voidFlowControl.handleCreditRequest(Map<Address, FlowControl.Credit> map, Address sender, long requested_credits) protected voidLocking.ServerLock.handleView(List<Address> members) protected voidFlowControl.handleViewChange(Vector<Address> mbrs) protected voidMFC.handleViewChange(Vector<Address> mbrs) protected voidUFC.handleViewChange(Vector<Address> mbrs) protected final Viewprotected static StringFlowControl.printMap(Map<Address, FlowControl.Credit> m) abstract voidBasicTCP.retainAll(Collection<Address> members) protected voidvoidTCP_NIO.retainAll(Collection<Address> members) voidTCP.retainAll(Collection<Address> members) Constructors in org.jgroups.protocols with parameters of type AddressModifierConstructorDescriptionFdHeader(byte type, Collection<Address> mbrs, Address from) HTotalHeader(Address dest, Address src) PingData(Address own_addr, View view, boolean is_server, String logical_name, Collection<PhysicalAddress> physical_addrs) ProtocolAdapter(String cluster_name, Address local_addr, short transport_id, Protocol up, Protocol down, String pattern) SequencerHeader(byte type, Address original_sender, long seqno) Constructor parameters in org.jgroups.protocols with type arguments of type Address -
Uses of Address in org.jgroups.protocols.pbcast
Fields in org.jgroups.protocols.pbcast declared as AddressMethods in org.jgroups.protocols.pbcast that return AddressModifier and TypeMethodDescriptionprotected AddressGMS.determineCoordinator()GMS.GmsHeader.getMember()MergeData.getSender()NakAckHeader.getSender()Methods in org.jgroups.protocols.pbcast with parameters of type AddressModifier and TypeMethodDescriptionstatic NakAckHeaderNakAckHeader.createXmitRequestHeader(long low, long high, Address orginal_sender) doubleNAKACK.getSmoothedAverageRetransmissionTime(Address sender) Returns the smoothed average retransmission time for a given senderPlease don't use this method; it is only provided for unit testing !voidGmsImpl.handleDigestResponse(Address sender, Digest digest) voidMerger.handleDigestResponse(Address sender, Digest digest) voidServerGmsImpl.handleDigestResponse(Address sender, Digest digest) 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.voidvoidabstract voidvoidvoidClientGmsImpl.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) voidvoidThe coordinator itself wants to leave the groupabstract voidvoidLoop: determine coord.voidNAKACK.messageGapDetected(long from, long to, Address src) Called when a message gap is detectedvoidNAKACK.missingMessageReceived(long seqno, Address original_sender) voidNAKACK.retransmit(long first_seqno, long last_seqno, Address sender) Implementation of Retransmitter.RetransmitCommand.protected voidNAKACK.retransmit(long first_seqno, long last_seqno, Address sender, boolean multicast_xmit_request) voidGMS.sendJoinResponse(JoinRsp rsp, Address dest) protected voidGmsImpl.sendMergeRejectedResponse(Address sender, MergeId merge_id) protected voidMerger.sendMergeRejectedResponse(Address sender, MergeId merge_id) voidvoidvoidvoidvoidRemoves previously suspected member from list of currently suspected membersprotected 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 TypeMethodDescriptionvoidGMS.castViewChangeWithDest(View new_view, Digest digest, JoinRsp jr, Collection<Address> newMembers) Broadcasts the new view and digest, and waits for acks from all members in the list given as argument.protected booleanGMS.checkSelfInclusion(Vector<Address> mbrs) Returns true if local_addr is member of mbrs, else falseGMS.getNextView(Collection<Address> new_mbrs, Collection<Address> old_mbrs, 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 booleanGmsImpl.iWouldBeCoordinator(Vector<Address> new_mbrs) Returns potential coordinator based on lexicographic ordering of member addresses.static ViewvoidInvoked upon receiving a MERGE event from the MERGE layer.voidvoidInvoked upon receiving a MERGE event from the MERGE layer.static voidMerger.sanitizeViews(Map<Address, View> map) Removes all members from a given view which don't have us in their view (https://jira.jboss.org/browse/JGRP-1061).Constructors in org.jgroups.protocols.pbcast with parameters of type AddressModifierConstructorDescriptionUsed for JOIN_REQ or LEAVE_REQ headerStateHeader(byte type, Address sender, long id, Digest digest) StateHeader(byte type, Address sender, long id, Digest digest, String state_id) StateHeader(byte type, Address sender, long id, Digest digest) StateHeader(byte type, Address sender, String state_id) StateHeader(byte type, Address sender, IpAddress bind_addr, Digest digest, String state_id) Constructor parameters in org.jgroups.protocols.pbcast with type arguments of type AddressModifierConstructorDescriptionFlushHeader(byte type, long viewID, Collection<? extends Address> flushView) GmsHeader(byte type, Collection<Address> mbrs) -
Uses of Address in org.jgroups.stack
Classes in org.jgroups.stack that implement AddressFields in org.jgroups.stack declared as AddressModifier and TypeFieldDescriptionprotected AddressRetransmitter.Task.msg_senderprotected final AddressRetransmitter.senderStateTransferInfo.targetMethods in org.jgroups.stack that return AddressMethods in org.jgroups.stack that return types with arguments of type AddressMethods in org.jgroups.stack with parameters of type AddressModifier and TypeMethodDescriptionvoidAn ACK has been received fromsender.final intimplements the java.lang.Comparable interfacevoidRouterStub.connect(String group, Address addr, String logical_name, List<PhysicalAddress> phys_addrs) Register this process with the router undergroup.voidRouterStub.disconnect(String group, Address addr) voidNakReceiverWindow.Listener.messageGapDetected(long from, long to, Address src) voidNakReceiverWindow.Listener.missingMessageReceived(long seqno, Address original_sender) voidRemoveobjfrom all receiver sets and wake up retransmission thread.voidAckMcastSenderWindow.RetransmitCommand.retransmit(long seqno, Message msg, Address dest) Retranmit the given msgvoidAckSenderWindow.retransmit(long first_seqno, long last_seqno, Address sender) voidRetransmitter.RetransmitCommand.retransmit(long first_seqno, long last_seqno, Address sender) Get the missing messages between sequence numbersfirst_seqnoandlast_seqno.voidRouterStub.sendToMember(String group, Address dest, byte[] data, int offset, int length) voidProtocolStack.startStack(String cluster_name, Address local_addr) Start all layers.voidProcess with addresssuspectedis suspected: remove it from all receiver sets.Method parameters in org.jgroups.stack with type arguments of type AddressConstructors in org.jgroups.stack with parameters of type AddressModifierConstructorDescriptionAckSenderWindow(AckSenderWindow.RetransmitCommand com, Interval interval, TimeScheduler sched, Address sender) DefaultRetransmitter(Address sender, Retransmitter.RetransmitCommand cmd, TimeScheduler sched) Create a new Retransmitter associated with the given sender addressGossipData(byte type, String group, Address addr) GossipData(byte type, String group, Address addr, byte[] buffer) GossipData(byte type, String group, Address addr, byte[] buffer, int offset, int length) GossipData(byte type, String group, Address addr, String logical_name, List<PhysicalAddress> phys_addrs) GossipData(byte type, String group, Address addr, List<Address> mbrs) GossipData(byte type, String group, Address addr, List<Address> mbrs, List<PhysicalAddress> physical_addrs) NakReceiverWindow(Address sender, Retransmitter.RetransmitCommand cmd, long highest_delivered_seqno, long lowest_seqno, TimeScheduler sched) Creates a new instance with the given retransmit commandNakReceiverWindow(Address sender, Retransmitter.RetransmitCommand cmd, long highest_delivered_seqno, long lowest_seqno, TimeScheduler sched, boolean use_range_based_retransmitter) NakReceiverWindow(Address sender, Retransmitter.RetransmitCommand cmd, long highest_delivered_seqno, long lowest_seqno, TimeScheduler sched, boolean use_range_based_retransmitter, int num_rows, int msgs_per_row, double resize_factor, long max_compaction_time, boolean automatic_purging) NakReceiverWindow(Address sender, Retransmitter.RetransmitCommand cmd, long highest_delivered_seqno, TimeScheduler sched) Creates a new instance with the given retransmit commandRangeBasedRetransmitter(Address sender, Retransmitter.RetransmitCommand cmd, TimeScheduler sched) Create a new Retransmitter associated with the given sender addressprotectedRangeTask(Seqno range, Interval intervals, Retransmitter.RetransmitCommand cmd, Address msg_sender) Retransmitter(Address sender, Retransmitter.RetransmitCommand cmd, TimeScheduler sched) Create a new Retransmitter associated with the given sender addressRouterStubManager(Protocol owner, String channelName, Address logicalAddress, long interval) protectedSeqnoTask(long seqno, Interval intervals, Retransmitter.RetransmitCommand cmd, Address msg_sender) StateTransferInfo(Address target) StateTransferInfo(Address target, long timeout) StateTransferInfo(Address target, InputStream is, String state_id) StateTransferInfo(Address target, OutputStream os, String state_id) StateTransferInfo(Address target, String state_id, long timeout) StateTransferInfo(Address target, String state_id, long timeout, byte[] state) protectedTask(Interval intervals, Retransmitter.RetransmitCommand cmd, Address msg_sender) Constructor parameters in org.jgroups.stack with type arguments of type AddressModifierConstructorDescriptionGossipData(byte type, String group, Address addr, List<Address> mbrs) GossipData(byte type, String group, Address addr, List<Address> mbrs, List<PhysicalAddress> physical_addrs) -
Uses of Address in org.jgroups.util
Classes in org.jgroups.util that implement AddressModifier and TypeClassDescriptionclassSubclass ofUUIDwhich adds a string as payload.classSubclass ofUUIDwhich adds a string as payload.classAddress with a cluster name.classSubclass ofUUIDwhich adds 3 strings (siteId, rackId and machineId)as payload.classLogical address which is unique over space and time.Fields in org.jgroups.util declared as AddressFields in org.jgroups.util with type parameters of type AddressModifier and TypeFieldDescriptionprotected static LazyRemovalCache<Address, String> UUID.cacheKeeps track of associations between logical addresses (UUIDs) and logical namesCreditMap.creditsprotected static final LazyRemovalCache.Printable<Address, String> UUID.print_functionprotected final Map<Address, Digest.Entry> Digest.sendersMap<Address, Entry>Methods in org.jgroups.util that return AddressModifier and TypeMethodDescriptionstatic AddressUtil.createRandomAddress()static AddressUtil.createRandomAddress(String name) SingletonAddress.getAddress()Rsp.getSender()static AddressUtil.readAddress(DataInputStream in) Methods in org.jgroups.util that return types with arguments of type AddressModifier and TypeMethodDescriptionUtil.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.Util.determineNewMembers(List<Address> old_mbrs, List<Address> new_mbrs) Returns the members which joined between 2 subsequent viewsRspList.entrySet()UUID.getContents()Returns a copy of the cache's contentsCreditMap.getMembersWithCreditsLessThan(long min_credits) CreditMap.getMembersWithInsufficientCredits(long credit_needed) ResponseCollector.getResults()Digest.getSenders()Returns an unmodifiable map, so modifications will result in exceptionsMutableDigest.getSenders()RspList.getSuspectedMembers()CreditMap.keys()RspList.keySet()Util.leftMembers(Collection<Address> old_list, Collection<Address> new_list) Util.leftMembers(View one, View two) Returns a list of members which left from view one to twoUtil.newMembers(List<Address> old_list, List<Address> new_list) Util.pickSubset(Vector<Address> members, double subset_percentage) Selects a random subset of members according to subset_percentage and returns them.static Collection<? extends Address> Util.readAddresses(DataInputStream in, Class cl) Methods in org.jgroups.util with parameters of type AddressModifier and TypeMethodDescriptionvoidvoidMutableDigest.add(Address sender, long low_seqno, long highest_delivered_seqno, long highest_received_seqno) voidbooleanstatic voidvoidRspList.addNotReceived(Address sender) voidvoidRspList.addSuspect(Address sender) intintCompares this UUID with the specified UUID.booleanstatic MergeIdstatic ViewUtil.createView(Address coord, long id, Address... members) protected voidCreditMap.decrementAndAdd(Address member, long new_credits) Decrements credits bytes from all elements and add new_credits to member (if non null).voidDeprecated.Returns the Entry for the given sender.static StringlongSeqnoTable.getHighestReceived(Address member) longSeqnoTable.getNextToReceive(Address member) static intlongDigest.highestDeliveredSeqnoAt(Address sender) longDigest.highestReceivedSeqnoAt(Address sender) voidMutableDigest.incrementHighestDeliveredSeqno(Address sender) Increments the sender's highest delivered seqno by 1static booleanUtil.isCoordinator(View view, Address local_addr) booleanRspList.isReceived(Address sender) booleanRspList.isSuspected(Address sender) longDigest.lowSeqnoAt(Address sender) voidMutableDigest.merge(Address sender, long low_seqno, long highest_delivered_seqno, long highest_received_seqno) Similar to add(), but if the sender already exists, its seqnos will be modified (no new entry) as follows: this.low_seqno=min(this.low_seqno, low_seqno) this.highest_delivered_seqno=max(this.highest_delivered_seqno, highest_delivered_seqno) this.highest_received_seqno=max(this.highest_received_seqno, highest_received_seqno) If the sender doesn not exist, a new entry will be added (provided there is enough space)voidDeprecated.CreditMap.putIfAbsent(Address key) voidvoidstatic voidvoidvoidvoidResets the seqnos for the sender at 'index' to 0.static booleanChecks whether 2 Addresses are on the same hostbooleanMutableDigest.set(Address sender, long low_seqno, long highest_delivered_seqno, long highest_received_seqno) voidMutableDigest.setHighestDeliveredAndSeenSeqnos(Address sender, long low_seqno, long highest_delivered_seqno, long highest_received_seqno) static intvoidvoidvoidstatic voidUtil.writeAddress(Address addr, DataOutputStream out) Method parameters in org.jgroups.util with type arguments of type AddressModifier and TypeMethodDescriptionstatic voidstatic byte[]Util.collectionToByteBuffer(Collection<Address> c) Util.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.Util.determineNewMembers(List<Address> old_mbrs, List<Address> new_mbrs) Returns the members which joined between 2 subsequent viewsUtil.leftMembers(Collection<Address> old_list, Collection<Address> new_list) Util.newMembers(List<Address> old_list, List<Address> new_list) Util.pickSubset(Vector<Address> members, double subset_percentage) Selects a random subset of members according to subset_percentage and returns them.voidstatic voidUUID.removeAll(Collection<Address> mbrs) voidAckCollector.reset(Collection<Address> members) voidResponseCollector.reset(Collection<Address> members) booleanSeqnoTable.retainAll(Collection<Address> members) static voidUUID.retainAll(Collection<Address> logical_addrs) static longUtil.size(Collection<? extends Address> addrs) Returns the marshalled size of a Collection of Addresses.static booleanUtil.startFlush(Channel c, List<Address> flushParticipants) static booleanUtil.startFlush(Channel c, List<Address> flushParticipants, int numberOfAttempts, long randomSleepTimeoutFloor, long randomSleepTimeoutCeiling) static voidUtil.writeAddresses(Collection<? extends Address> v, DataOutputStream out) Writes a Vector of Addresses.Constructors in org.jgroups.util with parameters of type AddressModifierConstructorDescriptionResponseCollector(Address... members) SingletonAddress(String cluster_name, Address addr) Constructor parameters in org.jgroups.util with type arguments of type AddressModifierConstructorDescriptionDigest(Map<Address, Digest.Entry> map) Creates a new digest from an existing map by copying the keys and values from mapMutableDigest(Map<Address, Digest.Entry> map) ResponseCollector(Collection<Address> members)
Channel.getAddress()instead