Interface IQueueManager

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    FakeQueueManager, QueueManager

    public interface IQueueManager
    extends java.lang.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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void takeTurn()
      Waits in queue for chance to take turn
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Method Detail

      • takeTurn

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