All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.api.etherscan.manager.impl.FakeQueueManager Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package io.api.etherscan.manager.impl;

import io.api.etherscan.manager.IQueueManager;

/**
 * Fake queue manager, always give turns, when you have no limits
 *
 * @author GoodforGod
 * @since 03.11.2018
 */
public class FakeQueueManager implements IQueueManager {

    @Override
    public void takeTurn() {
        // no limit or await provided for fake impl so rate limit exception will be
        // thrown if too many calls
    }

    @Override
    public void close() {
        // do nothing
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy