org.jgroups
Class Global

java.lang.Object
  extended by org.jgroups.Global

public class Global
extends java.lang.Object

Globals used by JGroups packages.

Version:
$Id: Global.java,v 1.14 2006/09/11 14:09:52 belaban Exp $
Author:
Bela Ban Mar 29, 2004

Field Summary
static java.lang.String BIND_ADDR
           
static java.lang.String BIND_ADDR_OLD
           
static int BYTE_SIZE
           
static java.lang.String CHANNEL_LOCAL_ADDR_TIMEOUT
           
static boolean copy
          Used to determine whether to copy messages (copy=true) in retransmission tables, or whether to use references (copy=false).
static boolean debug
          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 java.lang.String IGNORE_BIND_ADDRESS_PROPERTY
           
static java.lang.String IGNORE_BIND_ADDRESS_PROPERTY_OLD
           
static int INT_SIZE
           
static int LONG_SIZE
           
static java.lang.String MAGIC_NUMBER_FILE
           
static java.lang.String MARSHALLING_COMPAT
           
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 RESOLVE_DNS
           
static java.lang.String SCHEDULER_MAX_THREADS
           
static int SHORT_SIZE
           
static java.lang.String TCPPING_INITIAL_HOSTS
           
static java.lang.String THREAD_PREFIX
           
static java.lang.String UDP_IP_TTL
           
static java.lang.String UDP_MCAST_ADDR
           
static java.lang.String UDP_MCAST_PORT
           
 
Constructor Summary
Global()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public static final boolean debug
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. Therefore, code that should be removed from the final product should use if(log.isTraceEnabled()) rather than .

See Also:
Constant Field Values

copy

public static final boolean copy
Used to determine whether to copy messages (copy=true) in retransmission tables, or whether to use references (copy=false). Once copy=false has worked for some time, this flag will be removed entirely

See Also:
Constant Field Values

THREAD_PREFIX

public static final java.lang.String THREAD_PREFIX
See Also:
Constant Field Values

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

BIND_ADDR

public static final java.lang.String BIND_ADDR
See Also:
Constant Field Values

BIND_ADDR_OLD

public static final java.lang.String BIND_ADDR_OLD
See Also:
Constant Field Values

IGNORE_BIND_ADDRESS_PROPERTY

public static final java.lang.String IGNORE_BIND_ADDRESS_PROPERTY
See Also:
Constant Field Values

IGNORE_BIND_ADDRESS_PROPERTY_OLD

public static final java.lang.String IGNORE_BIND_ADDRESS_PROPERTY_OLD
See Also:
Constant Field Values

MARSHALLING_COMPAT

public static final java.lang.String MARSHALLING_COMPAT
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

RESOLVE_DNS

public static final java.lang.String RESOLVE_DNS
See Also:
Constant Field Values

CHANNEL_LOCAL_ADDR_TIMEOUT

public static final java.lang.String CHANNEL_LOCAL_ADDR_TIMEOUT
See Also:
Constant Field Values

SCHEDULER_MAX_THREADS

public static final java.lang.String SCHEDULER_MAX_THREADS
See Also:
Constant Field Values
Constructor Detail

Global

public Global()


Copyright ? 1998-2006 Bela Ban. All Rights Reserved.