Package com.slack.api.scim2.impl
Class AsyncRateLimitQueue
java.lang.Object
com.slack.api.rate_limits.queue.RateLimitQueue<AsyncExecutionSupplier<? extends SCIM2ApiResponse>,AsyncRateLimitQueue.SCIMMessage>
com.slack.api.scim2.impl.AsyncRateLimitQueue
public class AsyncRateLimitQueue
extends RateLimitQueue<AsyncExecutionSupplier<? extends SCIM2ApiResponse>,AsyncRateLimitQueue.SCIMMessage>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionprotected AsyncRateLimitQueue.SCIMMessagebuildNewMessage(String messageId, long epochMillisToRun, WaitTime waitTime, AsyncExecutionSupplier<? extends SCIM2ApiResponse> methodsSupplier) static AsyncRateLimitQueuestatic AsyncRateLimitQueuegetOrCreate(SCIM2Config config, String teamId) voidsetRateLimiter(AsyncSCIM2RateLimiter 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 SCIM2ApiResponse>,AsyncRateLimitQueue.SCIMMessage>
-
setRateLimiter
-
get
-
getOrCreate
-
buildNewMessage
protected AsyncRateLimitQueue.SCIMMessage buildNewMessage(String messageId, long epochMillisToRun, WaitTime waitTime, AsyncExecutionSupplier<? extends SCIM2ApiResponse> methodsSupplier) - Specified by:
buildNewMessagein classRateLimitQueue<AsyncExecutionSupplier<? extends SCIM2ApiResponse>,AsyncRateLimitQueue.SCIMMessage>
-