@Immutable @Loggable(value=1) public static final class Limit.Throttled extends Object implements Limit
Limit.Smart, Limit.Throttled
Constructor and Description |
---|
Throttled(Limit limit,
int allowed)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
Github |
github()
Github we're in.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
public Throttled(Limit limit, int allowed)
limit
- Original limitallowed
- Maximum allowedpublic javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.