Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.api;

Used to limit the rate fo calls to the API client-side

Rob Rua (FatalElement - NA) (
 public class RateLimit {
     public final int callsPerEpochsecondsPerEpoch;


callsPerEpoch the number of calls allowed in each epoch
secondsPerEpoch the number of seconds in each epoch
    public RateLimit(final int callsPerEpochfinal int secondsPerEpoch) {
        this. = callsPerEpoch;
        this. = secondsPerEpoch;
New to GrepCode? Check out our FAQ X