Package org.jgroups
Class Global
- java.lang.Object
-
- org.jgroups.Global
-
public final class Global extends java.lang.Object
Global is a JGroups internal class defining global variables.- Since:
- 2.0
- Author:
- Bela Ban
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BIND_ADDR
static java.lang.String
BIND_PORT
static short
BLOCKS_START_ID
First ID assigned for building blocks (defined in jg-protocols.xml)static int
BYTE_SIZE
static java.lang.String
BYTEMAN
static java.lang.String
CCHM_CONCURRENCY_LEVEL
static java.lang.String
CCHM_INITIAL_CAPACITY
static java.lang.String
CCHM_LOAD_FACTOR
static long
DEFAULT_FIRST_UNICAST_SEQNO
static java.lang.String
DEFAULT_HEADERS
System prop for defining the default number of headers in a Messagestatic java.lang.String
DEFAULT_PROTOCOL_STACK
static int
DOUBLE_SIZE
static java.lang.String
EAP_EXCLUDED
static java.lang.String
ENCRYPT
static java.lang.String
EXTERNAL_ADDR
static java.lang.String
EXTERNAL_PORT
static int
FLOAT_SIZE
static java.lang.String
FLUSH
static java.lang.String
FUNCTIONAL
static java.lang.String
GOSSIP_ROUTER
static java.lang.String
INITIAL_MCAST_ADDR
static java.lang.String
INITIAL_MCAST_PORT
static java.lang.String
INITIAL_TCP_PORT
static int
INT_SIZE
static java.lang.String
IPv4
static int
IPV4_SIZE
static java.lang.String
IPv6
static java.lang.String
IPV6_MCAST_PREFIX
static int
IPV6_SIZE
static java.lang.String
LOG_CLASS
static int
LONG_SIZE
static java.lang.String
MAGIC_NUMBER_FILE
static java.lang.String
MATCH_ADDR
static java.lang.String
MATCH_HOST
static java.lang.String
MATCH_INTF
static int
MAX_DATAGRAM_PACKET_SIZE
static java.lang.String
MAX_LIST_PRINT_SIZE
static java.lang.String
MPING_IP_TTL
static java.lang.String
MPING_MCAST_ADDR
static java.lang.String
MPING_MCAST_PORT
static java.lang.String
NAME_CACHE_MAX_AGE
static java.lang.String
NAME_CACHE_MAX_ELEMENTS
static java.lang.String
NON_LOOPBACK_ADDRESS
static Address
NULL_ADDRESS
static java.lang.String
PREFIX
static java.lang.String
PROTOCOL_ID_FILE
static int
SHORT_SIZE
static java.lang.String
STACK_DEPENDENT
static java.lang.String
STACK_INDEPENDENT
static java.lang.String
SUPPRESS_VIEW_SIZE
static java.lang.String
TCP_CLIENT_BIND_ADDR
static java.lang.String
TCPPING_INITIAL_HOSTS
static long
THREAD_SHUTDOWN_WAIT_TIME
static long
THREADPOOL_SHUTDOWN_WAIT_TIME
static java.lang.String
TIME_SENSITIVE
static java.lang.String
UDP_IP_TTL
static java.lang.String
UDP_MCAST_ADDR
static java.lang.String
UDP_MCAST_PORT
static java.lang.String
USE_JDK_LOGGER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
getPropertyAsBoolean(java.lang.String property, boolean defaultValue)
static int
getPropertyAsInteger(java.lang.String property, int defaultValue)
static long
getPropertyAsLong(java.lang.String property, long defaultValue)
-
-
-
Field Detail
-
BYTE_SIZE
public static final int BYTE_SIZE
- See Also:
- Constant Field Values
-
SHORT_SIZE
public static final int SHORT_SIZE
- See Also:
- Constant Field Values
-
INT_SIZE
public static final int INT_SIZE
- See Also:
- Constant Field Values
-
LONG_SIZE
public static final int LONG_SIZE
- See Also:
- Constant Field Values
-
DOUBLE_SIZE
public static final int DOUBLE_SIZE
- See Also:
- Constant Field Values
-
FLOAT_SIZE
public static final int FLOAT_SIZE
- See Also:
- Constant Field Values
-
MAX_DATAGRAM_PACKET_SIZE
public static final int MAX_DATAGRAM_PACKET_SIZE
- See Also:
- Constant Field Values
-
NULL_ADDRESS
public static final Address NULL_ADDRESS
-
IPv4
public static final java.lang.String IPv4
- See Also:
- Constant Field Values
-
IPv6
public static final java.lang.String IPv6
- See Also:
- Constant Field Values
-
NON_LOOPBACK_ADDRESS
public static final java.lang.String NON_LOOPBACK_ADDRESS
- See Also:
- Constant Field Values
-
BIND_ADDR
public static final java.lang.String BIND_ADDR
- See Also:
- Constant Field Values
-
BIND_PORT
public static final java.lang.String BIND_PORT
- See Also:
- Constant Field Values
-
EXTERNAL_ADDR
public static final java.lang.String EXTERNAL_ADDR
- See Also:
- Constant Field Values
-
EXTERNAL_PORT
public static final java.lang.String EXTERNAL_PORT
- See Also:
- Constant Field Values
-
TCP_CLIENT_BIND_ADDR
public static final java.lang.String TCP_CLIENT_BIND_ADDR
- See Also:
- Constant Field Values
-
TCPPING_INITIAL_HOSTS
public static final java.lang.String TCPPING_INITIAL_HOSTS
- See Also:
- Constant Field Values
-
UDP_MCAST_ADDR
public static final java.lang.String UDP_MCAST_ADDR
- See Also:
- Constant Field Values
-
UDP_MCAST_PORT
public static final java.lang.String UDP_MCAST_PORT
- See Also:
- Constant Field Values
-
UDP_IP_TTL
public static final java.lang.String UDP_IP_TTL
- See Also:
- Constant Field Values
-
MPING_MCAST_ADDR
public static final java.lang.String MPING_MCAST_ADDR
- See Also:
- Constant Field Values
-
MPING_MCAST_PORT
public static final java.lang.String MPING_MCAST_PORT
- See Also:
- Constant Field Values
-
MPING_IP_TTL
public static final java.lang.String MPING_IP_TTL
- See Also:
- Constant Field Values
-
MAGIC_NUMBER_FILE
public static final java.lang.String MAGIC_NUMBER_FILE
- See Also:
- Constant Field Values
-
PROTOCOL_ID_FILE
public static final java.lang.String PROTOCOL_ID_FILE
- See Also:
- Constant Field Values
-
NAME_CACHE_MAX_ELEMENTS
public static final java.lang.String NAME_CACHE_MAX_ELEMENTS
- See Also:
- Constant Field Values
-
NAME_CACHE_MAX_AGE
public static final java.lang.String NAME_CACHE_MAX_AGE
- See Also:
- Constant Field Values
-
IPV6_MCAST_PREFIX
public static final java.lang.String IPV6_MCAST_PREFIX
- See Also:
- Constant Field Values
-
USE_JDK_LOGGER
public static final java.lang.String USE_JDK_LOGGER
- See Also:
- Constant Field Values
-
LOG_CLASS
public static final java.lang.String LOG_CLASS
- See Also:
- Constant Field Values
-
DEFAULT_HEADERS
public static final java.lang.String DEFAULT_HEADERS
System prop for defining the default number of headers in a Message- See Also:
- Constant Field Values
-
DEFAULT_FIRST_UNICAST_SEQNO
public static final long DEFAULT_FIRST_UNICAST_SEQNO
- See Also:
- Constant Field Values
-
BLOCKS_START_ID
public static final short BLOCKS_START_ID
First ID assigned for building blocks (defined in jg-protocols.xml)- See Also:
- Constant Field Values
-
THREADPOOL_SHUTDOWN_WAIT_TIME
public static final long THREADPOOL_SHUTDOWN_WAIT_TIME
- See Also:
- Constant Field Values
-
THREAD_SHUTDOWN_WAIT_TIME
public static final long THREAD_SHUTDOWN_WAIT_TIME
- See Also:
- Constant Field Values
-
MATCH_ADDR
public static final java.lang.String MATCH_ADDR
- See Also:
- Constant Field Values
-
MATCH_HOST
public static final java.lang.String MATCH_HOST
- See Also:
- Constant Field Values
-
MATCH_INTF
public static final java.lang.String MATCH_INTF
- See Also:
- Constant Field Values
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_PROTOCOL_STACK
public static final java.lang.String DEFAULT_PROTOCOL_STACK
- See Also:
- Constant Field Values
-
FUNCTIONAL
public static final java.lang.String FUNCTIONAL
- See Also:
- Constant Field Values
-
TIME_SENSITIVE
public static final java.lang.String TIME_SENSITIVE
- See Also:
- Constant Field Values
-
STACK_DEPENDENT
public static final java.lang.String STACK_DEPENDENT
- See Also:
- Constant Field Values
-
STACK_INDEPENDENT
public static final java.lang.String STACK_INDEPENDENT
- See Also:
- Constant Field Values
-
GOSSIP_ROUTER
public static final java.lang.String GOSSIP_ROUTER
- See Also:
- Constant Field Values
-
FLUSH
public static final java.lang.String FLUSH
- See Also:
- Constant Field Values
-
BYTEMAN
public static final java.lang.String BYTEMAN
- See Also:
- Constant Field Values
-
EAP_EXCLUDED
public static final java.lang.String EAP_EXCLUDED
- See Also:
- Constant Field Values
-
ENCRYPT
public static final java.lang.String ENCRYPT
- See Also:
- Constant Field Values
-
INITIAL_MCAST_ADDR
public static final java.lang.String INITIAL_MCAST_ADDR
- See Also:
- Constant Field Values
-
INITIAL_MCAST_PORT
public static final java.lang.String INITIAL_MCAST_PORT
- See Also:
- Constant Field Values
-
INITIAL_TCP_PORT
public static final java.lang.String INITIAL_TCP_PORT
- See Also:
- Constant Field Values
-
CCHM_INITIAL_CAPACITY
public static final java.lang.String CCHM_INITIAL_CAPACITY
- See Also:
- Constant Field Values
-
CCHM_LOAD_FACTOR
public static final java.lang.String CCHM_LOAD_FACTOR
- See Also:
- Constant Field Values
-
CCHM_CONCURRENCY_LEVEL
public static final java.lang.String CCHM_CONCURRENCY_LEVEL
- See Also:
- Constant Field Values
-
MAX_LIST_PRINT_SIZE
public static final java.lang.String MAX_LIST_PRINT_SIZE
- See Also:
- Constant Field Values
-
SUPPRESS_VIEW_SIZE
public static final java.lang.String SUPPRESS_VIEW_SIZE
- See Also:
- Constant Field Values
-
IPV4_SIZE
public static final int IPV4_SIZE
- See Also:
- Constant Field Values
-
IPV6_SIZE
public static final int IPV6_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPropertyAsBoolean
public static boolean getPropertyAsBoolean(java.lang.String property, boolean defaultValue)
-
getPropertyAsLong
public static long getPropertyAsLong(java.lang.String property, long defaultValue)
-
getPropertyAsInteger
public static int getPropertyAsInteger(java.lang.String property, int defaultValue)
-
-