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.4 2005/07/17 11:38:05 chrislott Exp $
Author:
Bela Ban Mar 29, 2004

Field Summary
static int BYTE_SIZE
          Value is 1.
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 int INT_SIZE
          Value is 4.
static int LONG_SIZE
          Value is 8.
static int SHORT_SIZE
          Value is 2.
 
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

BYTE_SIZE

public static final int BYTE_SIZE
Value is 1.

See Also:
Constant Field Values

SHORT_SIZE

public static final int SHORT_SIZE
Value is 2.

See Also:
Constant Field Values

INT_SIZE

public static final int INT_SIZE
Value is 4.

See Also:
Constant Field Values

LONG_SIZE

public static final int LONG_SIZE
Value is 8.

See Also:
Constant Field Values
Constructor Detail

Global

public Global()


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