org.wildfly.swarm.config.undertow.configuration

## Class RequestLimit<T extends RequestLimit<T>>

- java.lang.Object
- - org.wildfly.swarm.config.undertow.configuration.RequestLimit<T>

-     public class RequestLimit<T extends RequestLimit<T>>
      extends Object

  Concurrent request limiter handler

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RequestLimit(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `String` | `getKey()`
    `Integer` | `maxConcurrentRequests()` Maximum number of concurrent requests
    `T` | `maxConcurrentRequests(Integer value)` Maximum number of concurrent requests
    `Integer` | `queueSize()` Number of requests to queue before they start being rejected
    `T` | `queueSize(Integer value)` Number of requests to queue before they start being rejected
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RequestLimit

          public RequestLimit(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### maxConcurrentRequests

          public Integer maxConcurrentRequests()

      Maximum number of concurrent requests

    - #### maxConcurrentRequests

          public T maxConcurrentRequests(Integer value)

      Maximum number of concurrent requests

    - #### queueSize

          public Integer queueSize()

      Number of requests to queue before they start being rejected

    - #### queueSize

          public T queueSize(Integer value)

      Number of requests to queue before they start being rejected

Copyright © 2017 JBoss by Red Hat. All rights reserved.