Package | Description |
---|---|
org.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
org.jgroups.protocols.pbcast |
Supports probabilistic broadcasts.
|
org.jgroups.stack |
Support for managing protocol stacks.
|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Field and Description |
---|---|
protected IpAddress |
UDP.mcast_addr
The multicast address (mcast address and port) this member uses
|
protected IpAddress |
FD_SOCK.srv_sock_addr |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<Address,IpAddress> |
FD_SOCK.cache
Cache of member addresses and their ServerSocket addresses
|
protected Promise<Map<Address,IpAddress>> |
FD_SOCK.get_cache_promise
Used to rendezvous on GET_CACHE and GET_CACHE_RSP
|
protected Promise<IpAddress> |
FD_SOCK.ping_addr_promise |
Modifier and Type | Method and Description |
---|---|
protected IpAddress |
UDP.createLocalAddress() |
protected IpAddress |
FD_SOCK.fetchPingAddress(Address mbr)
Attempts to obtain the ping_addr first from the cache, then by unicasting q request to
mbr ,
then by multicasting a request to all members. |
Modifier and Type | Method and Description |
---|---|
List<IpAddress> |
TCPPING.getInitialHosts()
Returns the list of initial hosts as configured by the user via XML.
|
protected Map<Address,IpAddress> |
FD_SOCK.readAddresses(byte[] buffer,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
protected void |
FD_SOCK.sendIHaveSockMessage(Address dst,
Address mbr,
IpAddress addr)
Sends or broadcasts a I_HAVE_SOCK response.
|
protected boolean |
FD_SOCK.setupPingSocket(IpAddress dest)
Creates a socket to
dest , and assigns it to ping_sock. |
Modifier and Type | Method and Description |
---|---|
static Buffer |
FD_SOCK.marshal(Map<Address,IpAddress> addrs) |
void |
TCPPING.setInitialHosts(List<IpAddress> initial_hosts) |
Constructor and Description |
---|
FdHeader(byte type,
Address mbr,
IpAddress sock_addr) |
Modifier and Type | Field and Description |
---|---|
protected IpAddress |
STATE_SOCK.StateProviderAcceptor.address |
protected IpAddress |
StreamingStateTransfer.StateHeader.bind_addr |
Modifier and Type | Method and Description |
---|---|
IpAddress |
STATE_SOCK.StateProviderAcceptor.getServerSocketAddress() |
Constructor and Description |
---|
StateHeader(byte type,
IpAddress bind_addr,
Digest digest) |
Modifier and Type | Method and Description |
---|---|
IpAddress |
IpAddress.copy() |
Modifier and Type | Method and Description |
---|---|
static List<IpAddress> |
Util.parseCommaDelimitedHosts(String hosts,
int port_range)
Input is "daddy[8880],sindhu[8880],camille[5555].
|
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.