org.jgroups
Class Global

java.lang.Object
  extended by org.jgroups.Global

public class Global
extends java.lang.Object

Global is a JGroups internal class defining global variables.

Since:
2.0
Author:
Bela Ban

Field Summary
static java.lang.String BIND_ADDR
           
static java.lang.String BIND_INTERFACE
           
static short BLOCKS_START_ID
          First ID assigned for building blocks (defined in jg-protocols.xml)
static java.lang.String BPING_BIND_PORT
           
static int BYTE_SIZE
           
static java.lang.String BYTEMAN
           
static java.lang.String CCHM_CONCURRENCY_LEVEL
           
static java.lang.String CCHM_INITIAL_CAPACITY
           
static java.lang.String CCHM_LOAD_FACTOR
           
static java.lang.String CUSTOM_LOG_FACTORY
           
static long DEFAULT_FIRST_UNICAST_SEQNO
           
static int DOUBLE_SIZE
           
static java.lang.String DUMMY
           
static java.lang.String EXTERNAL_ADDR
           
static java.lang.String EXTERNAL_PORT
           
static int FLOAT_SIZE
           
static java.lang.String FLUSH
           
static java.lang.String FUNCTIONAL
           
static java.lang.String GOSSIP_ROUTER
           
static java.lang.String IGNORE_BIND_ADDRESS_PROPERTY
           
static java.lang.String INITIAL_MCAST_ADDR
           
static java.lang.String INITIAL_MCAST_PORT
           
static java.lang.String INITIAL_TCP_PORT
           
static int INT_SIZE
           
static java.lang.String IPv4
           
static int IPV4_SIZE
           
static java.lang.String IPv6
           
static java.lang.String IPV6_MCAST_PREFIX
           
static int IPV6_SIZE
           
static int LONG_SIZE
           
static java.lang.String MAGIC_NUMBER_FILE
           
static int MAX_DATAGRAM_PACKET_SIZE
           
static java.lang.String MAX_LIST_PRINT_SIZE
           
static java.lang.String MPING_IP_TTL
           
static java.lang.String MPING_MCAST_ADDR
           
static java.lang.String MPING_MCAST_PORT
           
static java.lang.String NON_LOOPBACK_ADDRESS
           
static java.lang.String PREFIX
           
static java.lang.String PRINT_UUIDS
           
static java.lang.String PROTOCOL_ID_FILE
           
static java.lang.String RESOLVE_DNS
           
static short SCOPE_ID
           
static int SHORT_SIZE
           
static java.lang.String SINGLETON_NAME
           
static java.lang.String STACK_DEPENDENT
           
static java.lang.String STACK_INDEPENDENT
           
static java.lang.String STOMP_BIND_ADDR
           
static java.lang.String STOMP_ENDPOINT_ADDR
           
static java.lang.String TCP_CLIENT_BIND_ADDR
           
static java.lang.String TCPPING_INITIAL_HOSTS
           
static long THREAD_SHUTDOWN_WAIT_TIME
           
static long THREADPOOL_SHUTDOWN_WAIT_TIME
           
static java.lang.String TIME_SENSITIVE
           
static java.lang.String TIMER_NUM_THREADS
           
static java.lang.String UDP_IP_TTL
           
static java.lang.String UDP_MCAST_ADDR
           
static java.lang.String UDP_MCAST_PORT
           
static java.lang.String USE_JDK_LOGGER
           
static java.lang.String UUID_CACHE_MAX_AGE
           
static java.lang.String UUID_CACHE_MAX_ELEMENTS
           
static java.lang.String XML_VALIDATION
           
 
Constructor Summary
Global()
           
 
Method Summary
static boolean getPropertyAsBoolean(java.lang.String property, boolean defaultValue)
           
static int getPropertyAsInteger(java.lang.String property, int defaultValue)
           
static long getPropertyAsLong(java.lang.String property, long defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYTE_SIZE

public static final int BYTE_SIZE
See Also:
Constant Field Values

SHORT_SIZE

public static final int SHORT_SIZE
See Also:
Constant Field Values

INT_SIZE

public static final int INT_SIZE
See Also:
Constant Field Values

LONG_SIZE

public static final int LONG_SIZE
See Also:
Constant Field Values

DOUBLE_SIZE

public static final int DOUBLE_SIZE
See Also:
Constant Field Values

FLOAT_SIZE

public static final int FLOAT_SIZE
See Also:
Constant Field Values

MAX_DATAGRAM_PACKET_SIZE

public static final int MAX_DATAGRAM_PACKET_SIZE
See Also:
Constant Field Values

SCOPE_ID

public static final short SCOPE_ID

IPv4

public static final java.lang.String IPv4
See Also:
Constant Field Values

IPv6

public static final java.lang.String IPv6
See Also:
Constant Field Values

NON_LOOPBACK_ADDRESS

public static final java.lang.String NON_LOOPBACK_ADDRESS
See Also:
Constant Field Values

BIND_ADDR

public static final java.lang.String BIND_ADDR
See Also:
Constant Field Values

EXTERNAL_ADDR

public static final java.lang.String EXTERNAL_ADDR
See Also:
Constant Field Values

EXTERNAL_PORT

public static final java.lang.String EXTERNAL_PORT
See Also:
Constant Field Values

TCP_CLIENT_BIND_ADDR

public static final java.lang.String TCP_CLIENT_BIND_ADDR
See Also:
Constant Field Values

BIND_INTERFACE

public static final java.lang.String BIND_INTERFACE
See Also:
Constant Field Values

IGNORE_BIND_ADDRESS_PROPERTY

public static final java.lang.String IGNORE_BIND_ADDRESS_PROPERTY
See Also:
Constant Field Values

TCPPING_INITIAL_HOSTS

public static final java.lang.String TCPPING_INITIAL_HOSTS
See Also:
Constant Field Values

UDP_MCAST_ADDR

public static final java.lang.String UDP_MCAST_ADDR
See Also:
Constant Field Values

UDP_MCAST_PORT

public static final java.lang.String UDP_MCAST_PORT
See Also:
Constant Field Values

UDP_IP_TTL

public static final java.lang.String UDP_IP_TTL
See Also:
Constant Field Values

MPING_MCAST_ADDR

public static final java.lang.String MPING_MCAST_ADDR
See Also:
Constant Field Values

MPING_MCAST_PORT

public static final java.lang.String MPING_MCAST_PORT
See Also:
Constant Field Values

MPING_IP_TTL

public static final java.lang.String MPING_IP_TTL
See Also:
Constant Field Values

BPING_BIND_PORT

public static final java.lang.String BPING_BIND_PORT
See Also:
Constant Field Values

STOMP_BIND_ADDR

public static final java.lang.String STOMP_BIND_ADDR
See Also:
Constant Field Values

STOMP_ENDPOINT_ADDR

public static final java.lang.String STOMP_ENDPOINT_ADDR
See Also:
Constant Field Values

MAGIC_NUMBER_FILE

public static final java.lang.String MAGIC_NUMBER_FILE
See Also:
Constant Field Values

PROTOCOL_ID_FILE

public static final java.lang.String PROTOCOL_ID_FILE
See Also:
Constant Field Values

RESOLVE_DNS

public static final java.lang.String RESOLVE_DNS
See Also:
Constant Field Values

PRINT_UUIDS

public static final java.lang.String PRINT_UUIDS
See Also:
Constant Field Values

UUID_CACHE_MAX_ELEMENTS

public static final java.lang.String UUID_CACHE_MAX_ELEMENTS
See Also:
Constant Field Values

UUID_CACHE_MAX_AGE

public static final java.lang.String UUID_CACHE_MAX_AGE
See Also:
Constant Field Values

IPV6_MCAST_PREFIX

public static final java.lang.String IPV6_MCAST_PREFIX
See Also:
Constant Field Values

TIMER_NUM_THREADS

public static final java.lang.String TIMER_NUM_THREADS
See Also:
Constant Field Values

USE_JDK_LOGGER

public static final java.lang.String USE_JDK_LOGGER
See Also:
Constant Field Values

CUSTOM_LOG_FACTORY

public static final java.lang.String CUSTOM_LOG_FACTORY
See Also:
Constant Field Values

DEFAULT_FIRST_UNICAST_SEQNO

public static final long DEFAULT_FIRST_UNICAST_SEQNO
See Also:
Constant Field Values

BLOCKS_START_ID

public static final short BLOCKS_START_ID
First ID assigned for building blocks (defined in jg-protocols.xml)

See Also:
Constant Field Values

SINGLETON_NAME

public static final java.lang.String SINGLETON_NAME
See Also:
Constant Field Values

THREADPOOL_SHUTDOWN_WAIT_TIME

public static final long THREADPOOL_SHUTDOWN_WAIT_TIME
See Also:
Constant Field Values

THREAD_SHUTDOWN_WAIT_TIME

public static final long THREAD_SHUTDOWN_WAIT_TIME
See Also:
Constant Field Values

DUMMY

public static final java.lang.String DUMMY
See Also:
Constant Field Values

PREFIX

public static final java.lang.String PREFIX
See Also:
Constant Field Values

XML_VALIDATION

public static final java.lang.String XML_VALIDATION
See Also:
Constant Field Values

FUNCTIONAL

public static final java.lang.String FUNCTIONAL
See Also:
Constant Field Values

TIME_SENSITIVE

public static final java.lang.String TIME_SENSITIVE
See Also:
Constant Field Values

STACK_DEPENDENT

public static final java.lang.String STACK_DEPENDENT
See Also:
Constant Field Values

STACK_INDEPENDENT

public static final java.lang.String STACK_INDEPENDENT
See Also:
Constant Field Values

GOSSIP_ROUTER

public static final java.lang.String GOSSIP_ROUTER
See Also:
Constant Field Values

FLUSH

public static final java.lang.String FLUSH
See Also:
Constant Field Values

BYTEMAN

public static final java.lang.String BYTEMAN
See Also:
Constant Field Values

INITIAL_MCAST_ADDR

public static final java.lang.String INITIAL_MCAST_ADDR
See Also:
Constant Field Values

INITIAL_MCAST_PORT

public static final java.lang.String INITIAL_MCAST_PORT
See Also:
Constant Field Values

INITIAL_TCP_PORT

public static final java.lang.String INITIAL_TCP_PORT
See Also:
Constant Field Values

CCHM_INITIAL_CAPACITY

public static final java.lang.String CCHM_INITIAL_CAPACITY
See Also:
Constant Field Values

CCHM_LOAD_FACTOR

public static final java.lang.String CCHM_LOAD_FACTOR
See Also:
Constant Field Values

CCHM_CONCURRENCY_LEVEL

public static final java.lang.String CCHM_CONCURRENCY_LEVEL
See Also:
Constant Field Values

MAX_LIST_PRINT_SIZE

public static final java.lang.String MAX_LIST_PRINT_SIZE
See Also:
Constant Field Values

IPV4_SIZE

public static final int IPV4_SIZE
See Also:
Constant Field Values

IPV6_SIZE

public static final int IPV6_SIZE
See Also:
Constant Field Values
Constructor Detail

Global

public Global()
Method Detail

getPropertyAsBoolean

public static boolean getPropertyAsBoolean(java.lang.String property,
                                           boolean defaultValue)

getPropertyAsLong

public static long getPropertyAsLong(java.lang.String property,
                                     long defaultValue)

getPropertyAsInteger

public static int getPropertyAsInteger(java.lang.String property,
                                       int defaultValue)


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.