Interface RatelimitedEndpoint

    • Method Detail

      • getRatePerSecond

        int getRatePerSecond()
        Returns:
        The rate of how often this endpoint can be accessed per second. Equals -1, if there is no ratelimit on this endpoint.
      • getGlobalRatelimit

        int getGlobalRatelimit()
        Returns:
        The global ratelimit of all endpoints in this pool. Equals -1, if there is no global ratelimit.