|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jgroup.relacs.config.TransportConfig
public final class TransportConfig
The TransportConfig
class contains the configuration
parameters needed by the underlying transport protocol used in
Relacs.
Constructor Summary | |
---|---|
TransportConfig()
Constructs a TransportConfig object using the
default values. |
|
TransportConfig(int payload,
int multicastTTL,
int alfan,
int alfad,
int congestionTimeout,
int routingTimeout,
int startingWindow,
int maxWindow,
int minWindow,
int maxTTL,
int ttlWarning,
int maxPathLength,
int pathLengthWarning,
int localPingTimeout,
int retryNo,
int retryDelay)
Constructs a TransportConfig object from the given
parameters. |
Method Summary | |
---|---|
int |
getAlfad()
Returns the alfan parameter, which is used for
computing the average round-trip time (RTT), and it determines the
weight to give to the old values. |
int |
getAlfan()
Returns the alfan parameter, which is used for
computing the average round-trip time (RTT), and it determines the
weight to give to the old values. |
int |
getCongestionTimeout()
Get the time interval between two routing messages sent by a daemon. |
int |
getDaemonSuspectTimeout()
Get the timeout value used to by members to suspect the daemon. |
int |
getLocalPingRate()
Get the time interval between two ping messages sent by the daemon to its associated members. |
int |
getMaxPathLength()
Get the max path length. |
int |
getMaxTTL()
Get the maximum TTL value acceptable before considering an endpoint as unreachable. |
int |
getMaxWindow()
Get the maximum size of the window |
int |
getMinWindow()
Get the minimum size of the window |
int |
getMulticastTTL()
Get the value of the multicast TTL used to send the packets over the multicast sockets. |
int |
getPathWarning()
Get the path length warning level. |
int |
getPayload()
Get the size of the payload field of application packets. |
int |
getReachabilityThreshold()
Returns the reachability threshold used to evaluate the reachability of hosts within a cluster for the purpose of selecting a cluster leader. |
int |
getRetryDelay()
Get the delay [in ms] between the Jgroup daemon reachibility retries. |
int |
getRetryNo()
Get the number of retries of checking the reachability of other Jgroup Daemons. |
int |
getRoutingTimeout()
Get the time interval between two routing messages sent by a daemon. |
int |
getStartingWindow()
Get the size of the starting window |
int |
getTTLWarning()
Get the TTL warning level. |
void |
parse(org.w3c.dom.Element elm)
Parses the specified element. |
void |
setRoutingTimeout(int rt)
Set the time interval between two routing messages sent by a daemon. |
java.lang.String |
toString()
Returns a string representation of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransportConfig()
TransportConfig
object using the
default values.
public TransportConfig(int payload, int multicastTTL, int alfan, int alfad, int congestionTimeout, int routingTimeout, int startingWindow, int maxWindow, int minWindow, int maxTTL, int ttlWarning, int maxPathLength, int pathLengthWarning, int localPingTimeout, int retryNo, int retryDelay)
TransportConfig
object from the given
parameters.
Method Detail |
---|
public void parse(org.w3c.dom.Element elm) throws ConfigurationException
parse
in interface ConfigurationObject
ConfigurationException
public int getPayload()
public int getMulticastTTL()
public int getAlfan()
alfan
parameter, which is used for
computing the average round-trip time (RTT), and it determines the
weight to give to the old values. The formula used is given in
updateTimeout
.
MssHost.updateTimeout(int)
public int getAlfad()
alfan
parameter, which is used for
computing the average round-trip time (RTT), and it determines the
weight to give to the old values. The formula used is given in
updateTimeout
.
MssHost.updateTimeout(int)
public int getRoutingTimeout()
public void setRoutingTimeout(int rt)
public int getCongestionTimeout()
public int getDaemonSuspectTimeout()
getLocalPingRate()
public int getLocalPingRate()
public int getStartingWindow()
public int getMaxWindow()
public int getMinWindow()
public int getReachabilityThreshold()
maxTTL
value specified in the XML
configuration. Note that this value should never exceed the
maxTTL
value.
public int getMaxTTL()
public int getTTLWarning()
public int getMaxPathLength()
public int getPathWarning()
public int getRetryNo()
public int getRetryDelay()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |