jgroup.relacs.mss
Interface MssConstants

All Known Implementing Classes:
Daemon, FragmentHeader, MsgFactory, MsgJG, MsgMcast, MsgRouting, Mss, MssHost, RoutingTable

public interface MssConstants

The MssConstants interface declares a number of constants mainly relevant for the mss level.

Since:
Jgroup 1.2
Author:
Hein Meling, Alberto Montresor, Salvatore Cammarata

Field Summary
static int ALL
          Constant used to indicate that all members of a cluster should receive a message.
static int EHANDLER_PRIORITY
           
static int HEADER_SIZE
          Header size for network level packets (fragments).
static int MINIMUM_ALIVE_VALUE
          If the alive counter of a host is greater or equal to this value, the host is considered to be alive.
static int MSS_HEADER_SIZE
          Header size for mss level Jgroup (MsgJG) messages.
static int MSSUSER_PRIORITY
           
static boolean NACKSUPPRESSION
          Enabling (setting it to true) NACK suppression sends only a single NACK for each cluster.
static int NI_PRIORITY
           
static int OVERHEAD_SIZE
          The overall overhead for each packet sent to the network.
static boolean ROUTING_ENABLED
          Setting this to true enables routing of messages through intermediate clusters, if a node (or cluster) is not directly connected to the destination cluster.
static int TRAILER_SIZE
          There is currently no trailer added for each of the mss level packets.
static int UNDEF
          Used to indicate that an int value is undefined.
static int UNREACHABLE
          If the alive counter of a host is equal to this value, the host is considered to be unreachable.
 

Field Detail

NACKSUPPRESSION

static final boolean NACKSUPPRESSION
Enabling (setting it to true) NACK suppression sends only a single NACK for each cluster. Otherwise cluster.size messages will be sent for each missing message, for each of the clusters that are missing the message.

See Also:
Constant Field Values

ROUTING_ENABLED

static final boolean ROUTING_ENABLED
Setting this to true enables routing of messages through intermediate clusters, if a node (or cluster) is not directly connected to the destination cluster. FIXME NOTE: There is currently a problem with the routing mechanism, so don't turn it on.

See Also:
Constant Field Values

MSSUSER_PRIORITY

static final int MSSUSER_PRIORITY
See Also:
Constant Field Values

EHANDLER_PRIORITY

static final int EHANDLER_PRIORITY
See Also:
Constant Field Values

NI_PRIORITY

static final int NI_PRIORITY
See Also:
Constant Field Values

UNREACHABLE

static final int UNREACHABLE
If the alive counter of a host is equal to this value, the host is considered to be unreachable.

See Also:
Constant Field Values

MINIMUM_ALIVE_VALUE

static final int MINIMUM_ALIVE_VALUE
If the alive counter of a host is greater or equal to this value, the host is considered to be alive.

See Also:
Constant Field Values

ALL

static final int ALL
Constant used to indicate that all members of a cluster should receive a message.

See Also:
Constant Field Values

UNDEF

static final int UNDEF
Used to indicate that an int value is undefined.

See Also:
Constant Field Values

MSS_HEADER_SIZE

static final int MSS_HEADER_SIZE
Header size for mss level Jgroup (MsgJG) messages. Mss messages contains a static header and a dynamic trailer of unspecified size, whose size is determined at runtime. The content of the header includes a message tag, message identifer, pointer to the trailer's position in the message stream etc. The content of the trailer cannot be accessed until all message fragments (packets) have been received.

See Also:
Constant Field Values

HEADER_SIZE

static final int HEADER_SIZE
Header size for network level packets (fragments). Messages sent from the mss level may be split into several smaller fragments (or packets). Each of these fragments will be attached a header of the size given below. This fragment header comes in addition to the payload limit specified in the config.xml file. The header contains information about the message type, broadcast, fragment identifier (fid), sender and incarnation identifier.

See Also:
Constant Field Values

TRAILER_SIZE

static final int TRAILER_SIZE
There is currently no trailer added for each of the mss level packets.

See Also:
Constant Field Values

OVERHEAD_SIZE

static final int OVERHEAD_SIZE
The overall overhead for each packet sent to the network.

See Also:
Constant Field Values


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.