Package com.slack.api.scim.impl
Class AsyncRateLimitQueue
java.lang.Object
com.slack.api.rate_limits.queue.RateLimitQueue<AsyncExecutionSupplier<? extends SCIMApiResponse>,AsyncRateLimitQueue.SCIMMessage>
com.slack.api.scim.impl.AsyncRateLimitQueue
public class AsyncRateLimitQueue
extends RateLimitQueue<AsyncExecutionSupplier<? extends SCIMApiResponse>,AsyncRateLimitQueue.SCIMMessage>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionprotected AsyncRateLimitQueue.SCIMMessagebuildNewMessage(String messageId, long epochMillisToRun, WaitTime waitTime, AsyncExecutionSupplier<? extends SCIMApiResponse> methodsSupplier) static AsyncRateLimitQueuestatic AsyncRateLimitQueuegetOrCreate(SCIMConfig config, String teamId) voidsetRateLimiter(AsyncSCIMRateLimiter rateLimiter) Methods inherited from class com.slack.api.rate_limits.queue.RateLimitQueue
dequeueIfReady, enqueue, getCurrentActiveQueueSize, getOrCreateActiveQueue, remove
-
Method Details
-
getRateLimiter
- Specified by:
getRateLimiterin classRateLimitQueue<AsyncExecutionSupplier<? extends SCIMApiResponse>,AsyncRateLimitQueue.SCIMMessage>
-
setRateLimiter
-
get
-
getOrCreate
-
buildNewMessage
protected AsyncRateLimitQueue.SCIMMessage buildNewMessage(String messageId, long epochMillisToRun, WaitTime waitTime, AsyncExecutionSupplier<? extends SCIMApiResponse> methodsSupplier) - Specified by:
buildNewMessagein classRateLimitQueue<AsyncExecutionSupplier<? extends SCIMApiResponse>,AsyncRateLimitQueue.SCIMMessage>
-