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

com.fireflysource.common.actor.DispatcherFactory Maven / Gradle / Ivy

The newest version!
package com.fireflysource.common.actor;

import java.util.concurrent.Executor;
import java.util.concurrent.ForkJoinPool;

public class DispatcherFactory {

    public static Dispatcher createDispatcher() {
        return createDispatcher(ForkJoinPool.commonPool());
    }

    public static Dispatcher createDispatcher(Executor executor) {
        return new AbstractActor.DispatcherImpl(executor);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy