@Immutable @Loggable(value=1) public static final class Limit.Smart extends Object implements Limit
Limit.Smart, Limit.Throttled
Constructor and Description |
---|
Limit.Smart(Limit limit)
Public ctor.
|
public Limit.Smart(Limit limit)
limit
- Limitpublic int limit() throws IOException
IOException
- If it failspublic int remaining() throws IOException
IOException
- If it failspublic Date reset() throws IOException
IOException
- If it failspublic javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.