public enum ErraiConfigAttribs extends Enum<ErraiConfigAttribs>
Enum Constant and Description |
---|
AUTO_DISCOVER_SERVICES |
BUS_BUFFER_ALLOCATION_MODE
Allocation mode ('direct' or 'heap').
|
BUS_BUFFER_SEGMENT_COUNT
The number of segments in absolute terms.
|
BUS_BUFFER_SEGMENT_SIZE
The segment size in bytes.
|
BUS_BUFFER_SIZE
The buffer size in megabytes.
|
CLUSTER_NAME |
CLUSTER_PORT |
CLUSTERING_PROVIDER |
DO_LONG_POLL |
ENABLE_CLUSTERING |
ENABLE_SSE_SUPPORT |
ENABLE_WEB_SOCKET_SERVER |
ERRAI_DISPATCHER_IMPLEMENTATION |
ERRAI_SESSION_PROVIDER_IMPLEMENTATION |
FORCE_SECURE_WEBSOCKET |
HOSTED_MODE_TESTING |
LONG_POLL_TIMEOUT |
MESSAGE_QUEUE_TIMEOUT_SECS |
SATURATION_POLICY |
SECURE_WEB_SOCKET_SERVER |
SSE_TIMEOUT |
WEB_SOCKET_KEY_PASSWORD |
WEB_SOCKET_KEYSTORE |
WEB_SOCKET_KEYSTORE_PASSWORD |
WEB_SOCKET_KEYSTORE_TYPE |
WEB_SOCKET_PORT |
WEB_SOCKET_URL |
WEBSOCKET_SERVLET_CONTEXT_PATH |
WEBSOCKET_SERVLET_ENABLED |
Modifier and Type | Field and Description |
---|---|
protected String |
attributeName |
protected String |
defaultValue |
Modifier and Type | Method and Description |
---|---|
String |
get(ErraiServiceConfigurator configurator) |
String |
getAttributeName() |
boolean |
getBoolean(ErraiServiceConfigurator configurator) |
Integer |
getInt(ErraiServiceConfigurator configurator) |
void |
set(ErraiServiceConfigurator configurator,
String value) |
static ErraiConfigAttribs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErraiConfigAttribs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErraiConfigAttribs ERRAI_DISPATCHER_IMPLEMENTATION
public static final ErraiConfigAttribs ERRAI_SESSION_PROVIDER_IMPLEMENTATION
public static final ErraiConfigAttribs BUS_BUFFER_SIZE
BUS_BUFFER_SEGMENT_SIZE
then the segment count is inferred by the simple calculation BUF_BUFFER_SIZE / BUS_BUFFER_SEGMENT_SIZE
.
If the BUS_BUFFER_SEGMENT_COUNT
is specified, it will be ignored in the presence of this attribute.
Default value: 32public static final ErraiConfigAttribs BUS_BUFFER_SEGMENT_SIZE
public static final ErraiConfigAttribs BUS_BUFFER_SEGMENT_COUNT
BUS_BUFFER_SIZE
then the buffer size is inferred by the calculation BUS_BUFFER_SEGMENT_SIZE * BUS_BUFFER_SEGMENT_COUNT
public static final ErraiConfigAttribs BUS_BUFFER_ALLOCATION_MODE
public static final ErraiConfigAttribs HOSTED_MODE_TESTING
public static final ErraiConfigAttribs DO_LONG_POLL
public static final ErraiConfigAttribs LONG_POLL_TIMEOUT
public static final ErraiConfigAttribs ENABLE_SSE_SUPPORT
public static final ErraiConfigAttribs SSE_TIMEOUT
public static final ErraiConfigAttribs ENABLE_WEB_SOCKET_SERVER
public static final ErraiConfigAttribs WEB_SOCKET_URL
public static final ErraiConfigAttribs WEB_SOCKET_PORT
public static final ErraiConfigAttribs SECURE_WEB_SOCKET_SERVER
public static final ErraiConfigAttribs WEB_SOCKET_KEYSTORE
public static final ErraiConfigAttribs WEB_SOCKET_KEYSTORE_TYPE
public static final ErraiConfigAttribs WEB_SOCKET_KEYSTORE_PASSWORD
public static final ErraiConfigAttribs WEB_SOCKET_KEY_PASSWORD
public static final ErraiConfigAttribs WEBSOCKET_SERVLET_ENABLED
public static final ErraiConfigAttribs WEBSOCKET_SERVLET_CONTEXT_PATH
public static final ErraiConfigAttribs FORCE_SECURE_WEBSOCKET
public static final ErraiConfigAttribs AUTO_DISCOVER_SERVICES
public static final ErraiConfigAttribs CLUSTER_PORT
public static final ErraiConfigAttribs CLUSTER_NAME
public static final ErraiConfigAttribs ENABLE_CLUSTERING
public static final ErraiConfigAttribs CLUSTERING_PROVIDER
public static final ErraiConfigAttribs MESSAGE_QUEUE_TIMEOUT_SECS
public static final ErraiConfigAttribs SATURATION_POLICY
protected final String attributeName
protected final String defaultValue
public static ErraiConfigAttribs[] values()
for (ErraiConfigAttribs c : ErraiConfigAttribs.values()) System.out.println(c);
public static ErraiConfigAttribs valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean getBoolean(ErraiServiceConfigurator configurator)
public Integer getInt(ErraiServiceConfigurator configurator)
public String get(ErraiServiceConfigurator configurator)
public void set(ErraiServiceConfigurator configurator, String value)
public String getAttributeName()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.