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

com.pivovarit.collectors.UnboundedDispatcher Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package com.pivovarit.collectors;

import java.util.concurrent.Executor;

/**
 * @author Grzegorz Piwowarek
 */
final class UnboundedDispatcher extends Dispatcher {
    UnboundedDispatcher(Executor executor) {
        super(executor);
    }

    @Override
    protected CheckedConsumer dispatchStrategy() {
        return this::run;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy