org.jgroups
Class Global

java.lang.Object
  extended byorg.jgroups.Global

public class Global
extends java.lang.Object

Version:
$Id: Global.java,v 1.2 2004/03/30 06:47:29 belaban Exp $
Author:
Bela Ban Mar 29, 2004

Field Summary
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.
 
Constructor Summary
Global()
           
 
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
Constructor Detail

Global

public Global()


Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.