Enum WebsocketConfig.WebsocketConfigValue

    • 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.
    • 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 name
        NullPointerException - if the argument is null
      • getDefaultValue

        public Object getDefaultValue()
        Specified by:
        getDefaultValue in interface org.eclipse.ditto.services.utils.config.KnownConfigValue
      • getConfigPath

        public String getConfigPath()
        Specified by:
        getConfigPath in interface org.eclipse.ditto.services.utils.config.WithConfigPath