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