org.klomp.snark

## Class BWLimits

- java.lang.Object
- - org.klomp.snark.BWLimits

-     public class BWLimits
      extends Object

  Retrieves bandwidth limits from an I2P router via I2CP. Caches results and updates at most once every 10 minutes.

  This method is blocking and returns cached results if called again within the update interval. Returns null on failure.

  Uses a 5-second timeout internally but typically completes faster. Thread-safe via method synchronization.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BWLimits()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int[]` | `getBWLimits(String host, int port)`

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

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

- - ### Constructor Detail

    - #### BWLimits

          public BWLimits()

  - ### Method Detail

    - #### getBWLimits

          public static int[] getBWLimits(String host,
                                          int port)