Interface IQueueManager

  • All Known Implementing Classes:
    FakeQueueManager, QueueManager

    public interface IQueueManager
    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
    Author:
    GoodforGod
    • Method Detail

      • takeTurn

        boolean takeTurn()
        Waits in queue for chance to take turn
        Returns:
        is turn available