Interface RequestQueueManager
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
FakeRequestQueueManager,SemaphoreRequestQueueManager
Queue manager to support API limits
Manager grants turn if the limit is not exhausted And resets queue each set period
- Since:
- 30.10.2018
-
Method Summary
Modifier and TypeMethodDescriptionstatic RequestQueueManagerIs used by default when no API KEY is providedstatic RequestQueueManagerstatic RequestQueueManagerplanFree()Is available for all registered free API KEYs Free API KEYstatic RequestQueueManagerstatic RequestQueueManagervoidtakeTurn()Waits in queue for chance to take turnstatic RequestQueueManagerMethods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
anonymous
Is used by default when no API KEY is provided -
planFree
Is available for all registered free API KEYs Free API KEY -
planStandard
-
planAdvanced
-
planProfessional
-
unlimited
-
takeTurn
void takeTurn()Waits in queue for chance to take turn
-