|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ErraiConfigAttribs>
org.jboss.errai.bus.server.service.ErraiConfigAttribs
public enum ErraiConfigAttribs
Enum Constant Summary | |
---|---|
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
|
|
HOSTED_MODE_TESTING
|
|
LONG_POLL_TIMEOUT
|
|
MESSAGE_QUEUE_TIMEOUT_SECS
|
|
SATURATION_POLICY
|
|
SSE_TIMEOUT
|
|
WEB_SOCKET_PORT
|
|
WEB_SOCKET_URL
|
|
WEBSOCKET_SERVLET_CONTEXT_PATH
|
|
WEBSOCKET_SERVLET_ENABLED
|
Field Summary | |
---|---|
protected String |
attributeName
|
protected String |
defaultValue
|
Method Summary | |
---|---|
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. |
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 |
---|
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: 32
public 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 WEBSOCKET_SERVLET_ENABLED
public static final ErraiConfigAttribs WEBSOCKET_SERVLET_CONTEXT_PATH
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
Field Detail |
---|
protected final String attributeName
protected final String defaultValue
Method Detail |
---|
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 name
NullPointerException
- 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()
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |