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

cn.sliew.carp.module.queue.redis.test1.QueueExecutor Maven / Gradle / Ivy

There is a newer version: 0.0.14
Show newest version
package cn.sliew.carp.module.queue.redis.test1;

import java.util.concurrent.Executor;

public abstract class QueueExecutor implements Executor {

    private Executor executor;

    @Override
    public void execute(Runnable command) {
        executor.execute(command);
    }

    public abstract boolean hasCapacity();

    public abstract Integer availableCapacity();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy