Package org.asteriskjava.util

Examples of org.asteriskjava.util.DaemonThreadFactory


        return new ThreadPoolExecutor(
                poolSize,
                (maximumPoolSize < poolSize) ? poolSize : maximumPoolSize,
                50000L, TimeUnit.MILLISECONDS,
                new SynchronousQueue<Runnable>(),
                new DaemonThreadFactory()
        );
    }
View Full Code Here


     * Creates a new ManagerEventListenerProxy.<p>
     * You must set the target by calling {@link #setTarget(ManagerEventListener)}.
     */
    public ManagerEventListenerProxy()
    {
        this.executor = Executors.newSingleThreadExecutor(new DaemonThreadFactory());
    }
View Full Code Here

     * Creates a new ManagerEventListenerProxy.<p>
     * You must set the target by calling {@link #setTarget(ManagerEventListener)}.
     */
    public ManagerEventListenerProxy()
    {
        this.executor = Executors.newSingleThreadExecutor(new DaemonThreadFactory());
    }
View Full Code Here

        return new ThreadPoolExecutor(
                poolSize,
                (maximumPoolSize < poolSize) ? poolSize : maximumPoolSize,
                50000L, TimeUnit.MILLISECONDS,
                new SynchronousQueue<Runnable>(),
                new DaemonThreadFactory()
        );
    }
View Full Code Here

TOP

Related Classes of org.asteriskjava.util.DaemonThreadFactory

Copyright © 2018 www.massapicom. 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.