Class Limit.Throttled

    • Constructor Detail

      • Throttled

        public Throttled​(Limit limit,
                         int allowed)
        Public ctor.
        Parameters:
        limit - Original limit
        allowed - Maximum allowed
    • Method Detail

      • json

        public javax.json.JsonObject json()
                                   throws IOException
        Description copied from interface: JsonReadable
        Describe it in a JSON object.
        Specified by:
        json in interface JsonReadable
        Returns:
        JSON object
        Throws:
        IOException - If there is any I/O problem
      • github

        public Github github()
        Description copied from interface: Limit
        Github we're in.
        Specified by:
        github in interface Limit
        Returns:
        Github