程序包 | 说明 |
---|---|
com.fr.third.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
限定符和类型 | 类和说明 |
---|---|
class |
BPING
Broadcast PING.
|
class |
FILE_PING
Simple discovery protocol which uses a file on shared storage such as an SMB share, NFS mount or S3.
|
class |
GOOGLE_PING
Discovery protocol for Google Cloud Storage.
|
class |
JDBC_PING
Discovery protocol using a JDBC connection to a shared database.
|
class |
MPING
Uses its own IP multicast socket to send and receive discovery requests/responses.
|
class |
PING
The PING protocol retrieves the initial membership by mcasting a discovery request (via the multicast capable
transport) to all current cluster members
The responses should allow us to determine the coordinator which we have to contact, e.g. in case we want to join
the group.
|
class |
RACKSPACE_PING
Discovery protocol based on Rackspace Cloud Files storage solution
|
class |
S3_PING
Discovery protocol using Amazon's S3 storage.
|
class |
SHARED_LOOPBACK_PING
Discovery protocol running over
SHARED_LOOPBACK only. |
class |
SWIFT_PING
Discovery protocol based on Openstack Swift (object storage).
|
class |
TCPGOSSIP
The TCPGOSSIP protocol layer retrieves the initial membership (used by the
GMS when started by sending event FIND_INITIAL_MBRS down the stack).
|
class |
TCPPING
The TCPPING protocol defines a static cluster membership.
|
限定符和类型 | 方法和说明 |
---|---|
Discovery |
Discovery.breakOnCoordResponse(boolean flag) |
Discovery |
Discovery.forceDiscoveryResponses(boolean f) |
Discovery |
Discovery.numInitialMembers(int num)
已过时。
|
Discovery |
Discovery.returnEntireCache(boolean flag) |
Discovery |
Discovery.staggerTimeout(long timeout) |
Discovery |
Discovery.timeout(long timeout) |
Discovery |
Discovery.useDiskCache(boolean flag) |