|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfulmine.distribution.connection.tcp.TcpNetwork
fulmine.distribution.connection.tcp.FTTcpNetwork
public class FTTcpNetwork
A TcpNetwork subclass that configures the discoverer to use default
UDP parameters for an FT cluster. The FT cluster network can be configured
using system properties:
| Field Summary | |
|---|---|
static String |
DEFAULT_UDP_FT_DISCOVERY_NETWORK
The default UDP multicast network for cluster discovery |
static String |
DEFAULT_UDP_FT_DISCOVERY_PORT
The default UDP port for cluster discovery |
static String |
FT_NETWORK_INTERFACE_NAME
The system property to use to set the NIC for FT cluster discovery. |
static String |
UDP_FT_DISCOVERY_NETWORK
The system property to override the default UDP multicast network for FT cluster discovery. |
static String |
UDP_FT_DISCOVERY_PORT
The system property to override the default UDP multicast port for FT cluster discovery. |
| Fields inherited from interface fulmine.distribution.IHeartbeatMonitor |
|---|
DEFAULT_ALLOWED_MISSED_COUNT, DEFAULT_HEARTBEAT_PERIOD |
| Constructor Summary | |
|---|---|
FTTcpNetwork(String hostAddress,
int tcpPort)
Constructor that retrieves the FT clustering network values from system properties or uses default values if no system properties are set. |
|
FTTcpNetwork(String hostAddress,
int tcpPort,
String udpNetwork,
int udpPort,
String udpNic)
Constructor that accepts all necessary parameters for the FT cluster network. |
|
| Method Summary |
|---|
| Methods inherited from class fulmine.distribution.connection.tcp.TcpNetwork |
|---|
createBroker, createChannel, createDiscoverer, getAllowableNetworkHeartbeatMissCount, getNetworkHeartbeatPeriod, isListeningOnlyMode, setAllowableNetworkHeartbeatMissCount, setContext, setListeningOnlyMode, setNetworkHeartbeatPeriod |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String UDP_FT_DISCOVERY_NETWORK
TcpConnectionDiscoverer#DEFAULT_UDP_FT_DISCOVERY_NETWORK,
Constant Field Valuespublic static final String DEFAULT_UDP_FT_DISCOVERY_NETWORK
public static final String UDP_FT_DISCOVERY_PORT
TcpConnectionDiscoverer#DEFAULT_UDP_FT_DISCOVERY_PORT,
Constant Field Valuespublic static final String DEFAULT_UDP_FT_DISCOVERY_PORT
public static final String FT_NETWORK_INTERFACE_NAME
| Constructor Detail |
|---|
public FTTcpNetwork(String hostAddress,
int tcpPort)
ftContextIdentity - the identity of the FT context, starts with the FT 'cluster
identity'.context - the local contexthostAddress - the IP address of the FT network IConnectionBrokertcpPort - the TCP port of the FT network IConnectionBroker
public FTTcpNetwork(String hostAddress,
int tcpPort,
String udpNetwork,
int udpPort,
String udpNic)
hostAddress - the IP address of the FT network IConnectionBrokertcpPort - the TCP port of the FT network IConnectionBrokerudpNetwork - the UDP network for the FT clusterudpPort - the UDP port for the FT clusterudpNic - the network interface card name to bind to, null
for default
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||