public class RateLimit
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RateLimit.FromStringConverter |
Constructor and Description |
---|
RateLimit(int callsPerTimeframe,
java.time.Duration timeframe) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getCallsPerTimeframe() |
java.time.Duration |
getTimeframe() |
int |
hashCode() |
java.lang.String |
toString() |
public int getCallsPerTimeframe()
public java.time.Duration getTimeframe()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object