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 Modifier and Type Class Description static classAsyncRateLimitQueue.SCIMMessage -
Method Summary
Modifier and Type Method Description protected AsyncRateLimitQueue.SCIMMessagebuildNewMessage(java.lang.String messageId, long epochMillisToRun, WaitTime waitTime, AsyncExecutionSupplier<? extends SCIMApiResponse> methodsSupplier)static AsyncRateLimitQueueget(java.lang.String executorName, java.lang.String teamId)static AsyncRateLimitQueuegetOrCreate(SCIMConfig config, java.lang.String teamId)AsyncSCIMRateLimitergetRateLimiter()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(java.lang.String messageId, long epochMillisToRun, WaitTime waitTime, AsyncExecutionSupplier<? extends SCIMApiResponse> methodsSupplier)- Specified by:
buildNewMessagein classRateLimitQueue<AsyncExecutionSupplier<? extends SCIMApiResponse>,AsyncRateLimitQueue.SCIMMessage>
-