public static enum WebsocketConfig.WebsocketConfigValue extends Enum<WebsocketConfig.WebsocketConfigValue> implements org.eclipse.ditto.services.utils.config.KnownConfigValue
WebSocketConfig.| Enum Constant and Description |
|---|
PUBLISHER_BACKPRESSURE_BUFFER_SIZE
The max buffer size of how many outstanding command responses and events a single web socket client can have.
|
SUBSCRIBER_BACKPRESSURE_QUEUE_SIZE
The max queue size of how many inflight commands a single web socket client can have.
|
THROTTLING_REJECTION_FACTOR
The factor of maximum throughput at which rejections were sent.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigPath() |
Object |
getDefaultValue() |
static WebsocketConfig.WebsocketConfigValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebsocketConfig.WebsocketConfigValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebsocketConfig.WebsocketConfigValue SUBSCRIBER_BACKPRESSURE_QUEUE_SIZE
public static final WebsocketConfig.WebsocketConfigValue PUBLISHER_BACKPRESSURE_BUFFER_SIZE
public static final WebsocketConfig.WebsocketConfigValue THROTTLING_REJECTION_FACTOR
public static WebsocketConfig.WebsocketConfigValue[] values()
for (WebsocketConfig.WebsocketConfigValue c : WebsocketConfig.WebsocketConfigValue.values()) System.out.println(c);
public static WebsocketConfig.WebsocketConfigValue 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 Object getDefaultValue()
getDefaultValue in interface org.eclipse.ditto.services.utils.config.KnownConfigValuepublic String getConfigPath()
getConfigPath in interface org.eclipse.ditto.services.utils.config.WithConfigPathCopyright © 2017–2019 Eclipse Foundation. All rights reserved.