io.api.etherscan.manager.IQueueManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-etherscan-api Show documentation
Show all versions of java-etherscan-api Show documentation
Library is a wrapper for EtherScan API.
package io.api.etherscan.manager;
/**
* 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
*
* @author GoodforGod
* @since 30.10.2018
*/
public interface IQueueManager extends AutoCloseable {
/**
* Waits in queue for chance to take turn
*/
void takeTurn();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy