org.shredzone.flattr4j.connector
Class RateLimit
java.lang.Object
org.shredzone.flattr4j.connector.RateLimit
public class RateLimit
- extends Object
Keeps the maximum rate of allowed calls and the remaining number of calls.
Note: The call limitation is posed by the Flattr API. This is not a limitation
of flattr4j.
- Author:
- Richard "Shred" Körber
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RateLimit
public RateLimit()
getLimit
public Long getLimit()
- The maximum rate of allowed calls per time span.
null
if there is no such
information available.
setLimit
public void setLimit(Long limit)
getRemaining
public Long getRemaining()
- The remaining rate of allowed calls per time span.
null
if there is no such
information available.
setRemaining
public void setRemaining(Long remaining)
Copyright © 2010-2012. All Rights Reserved.