Package org.jgroups
Class Global
java.lang.Object
org.jgroups.Global
Globals used by JGroups packages.
- Version:
- $Id: Global.java,v 1.23.2.3 2008/06/02 14:56:23 belaban Exp $
- Author:
- Bela Ban Mar 29, 2004
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final int
static final String
static final boolean
Allows for conditional compilation; e.g., if(log.isTraceEnabled()) if(log.isInfoEnabled()) log.info(...) would be removed from the code (if recompiled) when this flag is set to false.static final String
static final String
static final String
static final int
static final int
static final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final Object
static final String
static final String
static final int
static final String
static final String
static final String
static final long
static final long
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
getPropertyAsBoolean
(String property, boolean defaultValue) static int
getPropertyAsInteger
(String property, int defaultValue) static long
getPropertyAsLong
(String property, long defaultValue)
-
Field Details
-
debug
public static final boolean debugAllows for conditional compilation; e.g., if(log.isTraceEnabled()) if(log.isInfoEnabled()) log.info(...) would be removed from the code (if recompiled) when this flag is set to false. Therefore, code that should be removed from the final product should use if(log.isTraceEnabled()) rather than .- See Also:
-
THREAD_PREFIX
- See Also:
-
BYTE_SIZE
public static final int BYTE_SIZE- See Also:
-
SHORT_SIZE
public static final int SHORT_SIZE- See Also:
-
INT_SIZE
public static final int INT_SIZE- See Also:
-
LONG_SIZE
public static final int LONG_SIZE- See Also:
-
NULL
-
BIND_ADDR
- See Also:
-
BIND_ADDR_OLD
- See Also:
-
BIND_INTERFACE
- See Also:
-
IGNORE_BIND_ADDRESS_PROPERTY
- See Also:
-
IGNORE_BIND_ADDRESS_PROPERTY_OLD
- See Also:
-
MARSHALLING_COMPAT
- See Also:
-
TCPPING_INITIAL_HOSTS
- See Also:
-
UDP_MCAST_ADDR
- See Also:
-
UDP_MCAST_PORT
- See Also:
-
UDP_IP_TTL
- See Also:
-
MPING_MCAST_ADDR
- See Also:
-
MPING_MCAST_PORT
- See Also:
-
MPING_IP_TTL
- See Also:
-
MAGIC_NUMBER_FILE
- See Also:
-
RESOLVE_DNS
- See Also:
-
CHANNEL_LOCAL_ADDR_TIMEOUT
- See Also:
-
SCHEDULER_MAX_THREADS
- See Also:
-
TIMER_NUM_THREADS
- See Also:
-
MUX_ENABLED
- See Also:
-
MUX_MIN_THREADS
- See Also:
-
MUX_MAX_THREADS
- See Also:
-
MUX_KEEPALIVE
- See Also:
-
SINGLETON_NAME
- See Also:
-
THREADPOOL_SHUTDOWN_WAIT_TIME
public static final long THREADPOOL_SHUTDOWN_WAIT_TIME- See Also:
-
THREAD_SHUTDOWN_WAIT_TIME
public static final long THREAD_SHUTDOWN_WAIT_TIME- See Also:
-
DUMMY
- See Also:
-
IPV4_SIZE
public static final int IPV4_SIZE- See Also:
-
IPV6_SIZE
public static final int IPV6_SIZE- See Also:
-
-
Constructor Details
-
Global
public Global()
-
-
Method Details
-
getPropertyAsBoolean
-
getPropertyAsLong
-
getPropertyAsInteger
-