com.h3c.util.rs.rate

## Class RateLimiter

- java.lang.Object
- - com.h3c.util.rs.rate.RateLimiter

- All Implemented Interfaces:
    Runnable

      public class RateLimiter
      extends Object
      implements Runnable

  A rate-limiter worker.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RateLimiter(javax.servlet.AsyncContext ac, org.slf4j.Logger log)`
    `RateLimiter(org.slf4j.Logger log)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run()`

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

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

- - ### Constructor Detail

    - #### RateLimiter

          public RateLimiter(org.slf4j.Logger log)

    - #### RateLimiter

          public RateLimiter(javax.servlet.AsyncContext ac,
                     org.slf4j.Logger log)

  - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

Copyright © 2014. All Rights Reserved.