Interface IQueueManager

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
FakeQueueManager, QueueManager

public interface IQueueManager extends AutoCloseable
Queue manager to support API limits (EtherScan 5request\sec limit) Managers grants turn if the limit is not exhausted And resets queue each set period
Since:
30.10.2018
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Waits in queue for chance to take turn

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • takeTurn

      void takeTurn()
      Waits in queue for chance to take turn