@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 int limit()
throws IOException
IOException - If it failspublic int remaining()
throws IOException
IOException - If it fails@NotNull(message="date is never NULL") public Date reset() throws IOException
IOException - If it fails@NotNull(message="JSON is never NULL") public javax.json.JsonObject json() throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.