Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jgroups
Class Global

    java.lang.Object
      org.jgroups.Global

    public class Global

extends java.lang.Object

Globals used by JGroups packages.

Author:
  Bela Ban Mar 29, 2004

Field Summary
`static int` | `BIG_CLUSTER_SIZE`
`static java.lang.String` | `BIND_ADDR`
`static java.lang.String` | `BIND_ADDR_OLD`
`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 java.lang.String` | `BPING_SOCK`
`static java.lang.String` | `BSH_SRV_SOCK`
`static int` | `BYTE_SIZE`
`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` | `FD_SOCK_SRV_SOCK`
`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` | `IGNORE_BIND_ADDRESS_PROPERTY_OLD`
`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 java.lang.String` | `MPING_IP_TTL`
`static java.lang.String` | `MPING_MCAST_ADDR`
`static java.lang.String` | `MPING_MCAST_PORT`
`static java.lang.String` | `MPING_MCAST_SOCK`
`static java.lang.String` | `MUX_ENABLED`
`static java.lang.String` | `MUX_KEEPALIVE`
`static java.lang.String` | `MUX_MAX_THREADS`
`static java.lang.String` | `MUX_MIN_THREADS`
`static java.lang.String` | `NON_LOOPBACK_ADDRESS`
`static int` | `NORMAL_CLUSTER_SIZE`
`static java.lang.Object` | `NULL`
`static Address` | `NULL_ADDR`
`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 int` | `SMALL_CLUSTER_SIZE`
`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` | `STOMP_SRV_SOCK`
`static java.lang.String` | `STREAMING_STATE_TRANSFER_SERVER_SOCK`
`static java.lang.String` | `TCP_SRV_SOCK`
`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` | `TP_DIAG_MCAST_SOCK`
`static java.lang.String` | `TUNNEL_UCAST_SOCK`
`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` | `UDP_MCAST_SOCK`
`static java.lang.String` | `UDP_UCAST_SOCK`
`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

### NULL

    public static final java.lang.Object NULL

### NULL_ADDR

    public static final Address NULL_ADDR

### 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

### BIND_ADDR_OLD

    public static final java.lang.String BIND_ADDR_OLD

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

### IGNORE_BIND_ADDRESS_PROPERTY_OLD

    public static final java.lang.String IGNORE_BIND_ADDRESS_PROPERTY_OLD

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

### MUX_ENABLED

    public static final java.lang.String MUX_ENABLED

See Also:
  Constant Field Values

### MUX_MIN_THREADS

    public static final java.lang.String MUX_MIN_THREADS

See Also:
  Constant Field Values

### MUX_MAX_THREADS

    public static final java.lang.String MUX_MAX_THREADS

See Also:
  Constant Field Values

### MUX_KEEPALIVE

    public static final java.lang.String MUX_KEEPALIVE

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

### 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

### UDP_MCAST_SOCK

    public static final java.lang.String UDP_MCAST_SOCK

See Also:
  Constant Field Values

### UDP_UCAST_SOCK

    public static final java.lang.String UDP_UCAST_SOCK

See Also:
  Constant Field Values

### TCP_SRV_SOCK

    public static final java.lang.String TCP_SRV_SOCK

See Also:
  Constant Field Values

### TUNNEL_UCAST_SOCK

    public static final java.lang.String TUNNEL_UCAST_SOCK

See Also:
  Constant Field Values

### MPING_MCAST_SOCK

    public static final java.lang.String MPING_MCAST_SOCK

See Also:
  Constant Field Values

### BPING_SOCK

    public static final java.lang.String BPING_SOCK

See Also:
  Constant Field Values

### TP_DIAG_MCAST_SOCK

    public static final java.lang.String TP_DIAG_MCAST_SOCK

See Also:
  Constant Field Values

### STREAMING_STATE_TRANSFER_SERVER_SOCK

    public static final java.lang.String STREAMING_STATE_TRANSFER_SERVER_SOCK

See Also:
  Constant Field Values

### FD_SOCK_SRV_SOCK

    public static final java.lang.String FD_SOCK_SRV_SOCK

See Also:
  Constant Field Values

### BSH_SRV_SOCK

    public static final java.lang.String BSH_SRV_SOCK

See Also:
  Constant Field Values

### STOMP_SRV_SOCK

    public static final java.lang.String STOMP_SRV_SOCK

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

### 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

### SMALL_CLUSTER_SIZE

    public static final int SMALL_CLUSTER_SIZE

See Also:
  Constant Field Values

### NORMAL_CLUSTER_SIZE

    public static final int NORMAL_CLUSTER_SIZE

See Also:
  Constant Field Values

### BIG_CLUSTER_SIZE

    public static final int BIG_CLUSTER_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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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