org.jgroups

Class 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 .
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.

Field Details

BYTE_SIZE

public static final int BYTE_SIZE
Value is .
Field Value:
1

INT_SIZE

public static final int INT_SIZE
Value is .
Field Value:
4

LONG_SIZE

public static final int LONG_SIZE
Value is .
Field Value:
8

SHORT_SIZE

public static final int SHORT_SIZE
Value is .
Field Value:
2

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
Field Value:
false

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 .
Field Value:
false

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.