com.sun.enterprise.mgmt.transport.grizzly
Enum GrizzlyConfigConstants

java.lang.Object
  extended by java.lang.Enum<GrizzlyConfigConstants>
      extended by com.sun.enterprise.mgmt.transport.grizzly.GrizzlyConfigConstants
All Implemented Interfaces:
Serializable, Comparable<GrizzlyConfigConstants>

public enum GrizzlyConfigConstants
extends Enum<GrizzlyConfigConstants>

Specifies constants that are allowed to be used as keys for configuration elements that are sought to be set or retrieved for/from Grizzly platform configuration

Author:
Bongjae Chang

Enum Constant Summary
BIND_INTERFACE_NAME
           
CORE_POOLSIZE
           
DISCOVERY_URI_LIST
           
HIGH_WATER_MARK
           
KEEP_ALIVE_TIME
           
MAX_PARALLEL
           
MAX_POOLSIZE
           
MAX_WRITE_SELECTOR_POOL_SIZE
           
MULTICAST_TIME_TO_LIVE
           
NUMBER_TO_RECLAIM
           
POOL_QUEUE_SIZE
           
START_TIMEOUT
           
TCPENDPORT
           
TCPSTARTPORT
           
WRITE_TIMEOUT
           
 
Method Summary
static GrizzlyConfigConstants valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GrizzlyConfigConstants[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TCPSTARTPORT

public static final GrizzlyConfigConstants TCPSTARTPORT

TCPENDPORT

public static final GrizzlyConfigConstants TCPENDPORT

BIND_INTERFACE_NAME

public static final GrizzlyConfigConstants BIND_INTERFACE_NAME

MAX_POOLSIZE

public static final GrizzlyConfigConstants MAX_POOLSIZE

CORE_POOLSIZE

public static final GrizzlyConfigConstants CORE_POOLSIZE

KEEP_ALIVE_TIME

public static final GrizzlyConfigConstants KEEP_ALIVE_TIME

POOL_QUEUE_SIZE

public static final GrizzlyConfigConstants POOL_QUEUE_SIZE

HIGH_WATER_MARK

public static final GrizzlyConfigConstants HIGH_WATER_MARK

NUMBER_TO_RECLAIM

public static final GrizzlyConfigConstants NUMBER_TO_RECLAIM

MAX_PARALLEL

public static final GrizzlyConfigConstants MAX_PARALLEL

START_TIMEOUT

public static final GrizzlyConfigConstants START_TIMEOUT

WRITE_TIMEOUT

public static final GrizzlyConfigConstants WRITE_TIMEOUT

MAX_WRITE_SELECTOR_POOL_SIZE

public static final GrizzlyConfigConstants MAX_WRITE_SELECTOR_POOL_SIZE

DISCOVERY_URI_LIST

public static final GrizzlyConfigConstants DISCOVERY_URI_LIST

MULTICAST_TIME_TO_LIVE

public static final GrizzlyConfigConstants MULTICAST_TIME_TO_LIVE
Method Detail

values

public static GrizzlyConfigConstants[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GrizzlyConfigConstants c : GrizzlyConfigConstants.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GrizzlyConfigConstants valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.