Package com.sun.messaging.jmq.jmsserver.util

Examples of com.sun.messaging.jmq.jmsserver.util.MQThread.start()


        synchronized (this) {
            qrun = new QuiesceRunnable();
        }
        Thread thr = new MQThread(qrun,
                                "quiesce thread");
        thr.start();
    }

    /**
     * Start allowing new jms connections to the broker.
     * This allows an administrator to stop the "drain" the broker before
View Full Code Here


        ShutdownRunnable runner = new ShutdownRunnable(requestedBy, targetShutdownTime,
                        triggerFailover, exitCode, cleanupJMX);
        if (threadOff) {
            Thread thr = new MQThread(runner,
                                "shutdown thread");
            thr.start();
        } else {
            int shutdown = runner.shutdown(); // run in current thread
            if (exit)
                System.exit(shutdown);
        }
View Full Code Here

    {
        this.protocol = p;
        this.fi = FaultInjection.getInjection();
        Thread thr =new MQThread(this,"Broker Monitor");
        thr.setDaemon(true);
        thr.start();
    }

    class ackEntry
    {
        com.sun.messaging.jmq.jmsserver.core.ConsumerUID uid = null;
View Full Code Here

        thr.setPriority(priority);
        if (indx >= min) {
            runner.setThreadBehavior(BasicRunnable.B_TIMEOUT_THREAD);
        }
        current_count ++;
        thr.start();
        return runner;
    }


    public synchronized void runnableDestroying(int indx) {
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.