org.jgroups

Class Global

public class Global extends Object

Globals used by JGroups packages.

Version: $Id: Global.java,v 1.4 2005/07/17 11:38:05 chrislott Exp $

Author: Bela Ban Mar 29, 2004

Field Summary
static intBYTE_SIZE
Value is {@value }.
static booleancopy
Used to determine whether to copy messages (copy=true) in retransmission tables, or whether to use references (copy=false).
static booleandebug
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 intINT_SIZE
Value is {@value }.
static intLONG_SIZE
Value is {@value }.
static intSHORT_SIZE
Value is {@value }.

Field Detail

BYTE_SIZE

public static final int BYTE_SIZE
Value is {@value }.

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 .

INT_SIZE

public static final int INT_SIZE
Value is {@value }.

LONG_SIZE

public static final int LONG_SIZE
Value is {@value }.

SHORT_SIZE

public static final int SHORT_SIZE
Value is {@value }.
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.