org.jgroups
Class Global
public class Global
extends java.lang.Object
Globals used by JGroups packages.
$Id: Global.java,v 1.4 2005/07/17 11:38:05 chrislott Exp $static int | BYTE_SIZE - Value is .
|
static int | INT_SIZE - Value is .
|
static int | LONG_SIZE - Value is .
|
static int | SHORT_SIZE - Value is .
|
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.
|
BYTE_SIZE
public static final int BYTE_SIZE
Value is .
INT_SIZE
public static final int INT_SIZE
Value is .
LONG_SIZE
public static final int LONG_SIZE
Value is .
SHORT_SIZE
public static final int SHORT_SIZE
Value is .
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
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 .
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.