public class RegionalRateLimiter extends Object
Constructor and Description |
---|
RegionalRateLimiter(RiotApiConfig config) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<org.asynchttpclient.Response> |
getMethodRateLimited(String methodId,
Supplier<CompletableFuture<org.asynchttpclient.Response>> supplier) |
CompletableFuture<org.asynchttpclient.Response> |
getRateLimited(String methodId,
Supplier<CompletableFuture<org.asynchttpclient.Response>> supplier) |
public RegionalRateLimiter(RiotApiConfig config)
public CompletableFuture<org.asynchttpclient.Response> getMethodRateLimited(String methodId, Supplier<CompletableFuture<org.asynchttpclient.Response>> supplier)
public CompletableFuture<org.asynchttpclient.Response> getRateLimited(String methodId, Supplier<CompletableFuture<org.asynchttpclient.Response>> supplier)
Copyright © 2019. All rights reserved.