Examples of MQThread


Examples of com.sun.messaging.jmq.jmsserver.util.MQThread

            throw new IllegalStateException("Already Quiescing");
        }
        synchronized (this) {
            qrun = new QuiesceRunnable();
        }
        Thread thr = new MQThread(qrun,
                                "quiesce thread");
        thr.start();
    }
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.util.MQThread

            targetShutdownTime = 0;
        }
        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

Examples of com.sun.messaging.jmq.jmsserver.util.MQThread

        notifyAll();
    }

    private void createNotifyThread() {
        if (notifyThread == null) {
            notifyThread = new MQThread(this, "ConsumerInfoNotifyManager");
            notifyThread.setDaemon(true);
            notifyThread.start();
        }
    }
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.util.MQThread

    public BrokerConsumers(Protocol p)
    {
        this.protocol = p;
        this.fi = FaultInjection.getInjection();
        Thread thr =new MQThread(this,"Broker Monitor");
        thr.setDaemon(true);
        thr.start();
    }
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.util.MQThread

                current.set(indx, runner);
            }
        }

        runner.setState(BasicRunnable.RUN_READY);
        Thread thr = new MQThread(tgroup, runner, "Thread-"+name +"["
                +indx + "]");
        thr.setPriority(priority);
        if (indx >= min) {
            runner.setThreadBehavior(BasicRunnable.B_TIMEOUT_THREAD);
        }
        current_count ++;
        thr.start();
        return runner;
    }
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.util.MQThread

        }
     
        if(doAsyncWrites)
        {
          log ("starting asyncwrite");
          asyncWriteThread = new MQThread(this, child+ "AsyncWrite");
          asyncWriteThread.setPriority(Thread.NORM_PRIORITY-1);
          asyncWriteThread.start();
        }
     
        /**
 
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.