Package org.exolab.jms.common.threads

Examples of org.exolab.jms.common.threads.ThreadFactory


     *                    threads
     */
    public ThreadPool(ThreadGroup group, String name, Channel channel,
                      int maxPoolSize, boolean daemon) {
        super(channel, maxPoolSize);
        setThreadFactory(new ThreadFactory(group, name + "-Worker-", daemon));
    }
View Full Code Here


     * Starts the reaper for dead/idle connections, if needed.
     */
    private synchronized void startReaper() {
        if (_daemon == null) {
            _daemon = new ClockDaemon();
            ThreadFactory creator =
                    new ThreadFactory(null, "ManagedConnectionReaper", false);
            _daemon.setThreadFactory(creator);

            if (_reapInterval > 0) {
                _daemon.executePeriodically(_reapInterval, new DeadReaper(),
                                            false);
View Full Code Here

TOP

Related Classes of org.exolab.jms.common.threads.ThreadFactory

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.