Enum WebsocketConfig.WebsocketConfigValue
- java.lang.Object
-
- java.lang.Enum<WebsocketConfig.WebsocketConfigValue>
-
- org.eclipse.ditto.services.gateway.streaming.WebsocketConfig.WebsocketConfigValue
-
- All Implemented Interfaces:
Serializable,Comparable<WebsocketConfig.WebsocketConfigValue>,org.eclipse.ditto.services.utils.config.KnownConfigValue,org.eclipse.ditto.services.utils.config.WithConfigPath
- Enclosing interface:
- WebsocketConfig
public static enum WebsocketConfig.WebsocketConfigValue extends Enum<WebsocketConfig.WebsocketConfigValue> implements org.eclipse.ditto.services.utils.config.KnownConfigValue
An enumeration of the known config path expressions and their associated default values forWebSocketConfig.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PUBLISHER_BACKPRESSURE_BUFFER_SIZEThe max buffer size of how many outstanding command responses and events a single web socket client can have.SUBSCRIBER_BACKPRESSURE_QUEUE_SIZEThe max queue size of how many inflight commands a single web socket client can have.THROTTLING_REJECTION_FACTORThe factor of maximum throughput at which rejections were sent.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConfigPath()ObjectgetDefaultValue()static WebsocketConfig.WebsocketConfigValuevalueOf(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.
-
-
-
Enum Constant Detail
-
SUBSCRIBER_BACKPRESSURE_QUEUE_SIZE
public static final WebsocketConfig.WebsocketConfigValue SUBSCRIBER_BACKPRESSURE_QUEUE_SIZE
The max queue size of how many inflight commands a single web socket client can have.
-
PUBLISHER_BACKPRESSURE_BUFFER_SIZE
public static final WebsocketConfig.WebsocketConfigValue PUBLISHER_BACKPRESSURE_BUFFER_SIZE
The max buffer size of how many outstanding command responses and events a single web socket client can have.
-
THROTTLING_REJECTION_FACTOR
public static final WebsocketConfig.WebsocketConfigValue THROTTLING_REJECTION_FACTOR
The factor of maximum throughput at which rejections were sent.
-
-
Method Detail
-
values
public static WebsocketConfig.WebsocketConfigValue[] 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 (WebsocketConfig.WebsocketConfigValue c : WebsocketConfig.WebsocketConfigValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebsocketConfig.WebsocketConfigValue 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 nameNullPointerException- if the argument is null
-
getDefaultValue
public Object getDefaultValue()
- Specified by:
getDefaultValuein interfaceorg.eclipse.ditto.services.utils.config.KnownConfigValue
-
getConfigPath
public String getConfigPath()
- Specified by:
getConfigPathin interfaceorg.eclipse.ditto.services.utils.config.WithConfigPath
-
-