Package com.slack.api.methods.impl
Class AsyncRateLimitExecutor
- java.lang.Object
-
- com.slack.api.methods.impl.AsyncRateLimitExecutor
-
public class AsyncRateLimitExecutor extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends SlackApiResponse>
CompletableFuture<T>execute(String methodName, Map<String,String> params, AsyncExecutionSupplier<T> methodsSupplier)
static AsyncRateLimitExecutor
get(String executorName)
static AsyncRateLimitExecutor
getOrCreate(MethodsClientImpl client, SlackConfig config)
-
-
-
Method Detail
-
get
public static AsyncRateLimitExecutor get(String executorName)
-
getOrCreate
public static AsyncRateLimitExecutor getOrCreate(MethodsClientImpl client, SlackConfig config)
-
execute
public <T extends SlackApiResponse> CompletableFuture<T> execute(String methodName, Map<String,String> params, AsyncExecutionSupplier<T> methodsSupplier)
-
-