Examples of PrefixedThreadFactory


Examples of fi.jumi.core.util.PrefixedThreadFactory

        // entry point of the application
        SuiteFactory suiteFactory = new SuiteFactory(config, outputCapturer, logOutput, actorMessageLogger);

        // listen for commands through IPC files
        DaemonDir daemonDir = new DaemonDir(config.getDaemonDir());
        Executor executor = Executors.newCachedThreadPool(new PrefixedThreadFactory("jumi-ipc-"));
        MultiThreadedActors actors = new MultiThreadedActors(
                executor,
                new DynamicEventizerProvider(), // TODO: use ComposedEventizerProvider
                new PrintStreamFailureLogger(logOutput),
                actorMessageLogger
View Full Code Here

Examples of fi.jumi.core.util.PrefixedThreadFactory


    // dependencies

    protected ExecutorService createActorsThreadPool() {
        return Executors.newCachedThreadPool(new PrefixedThreadFactory("jumi-launcher-"));
    }
View Full Code Here

Examples of org.apache.felix.ipojo.extender.internal.queue.PrefixedThreadFactory

            }
        } else {
            // Build a thread factory that will groups extender's thread together
            ThreadFactory threadFactory = new GroupThreadFactory(new ThreadGroup("iPOJO Extender"));
            threadFactory = new NamingThreadFactory(threadFactory);
            threadFactory = new PrefixedThreadFactory(threadFactory, "[iPOJO] ");

            // Create the queue services
            SynchronousQueueService sync = new SynchronousQueueService(context);
            ExecutorQueueService async = new ExecutorQueueService(context,
                                                                  Integer.getInteger(ExecutorQueueService.THREADPOOL_SIZE_PROPERTY,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.