Package com.sun.messaging.jmq.jmsserver

Examples of com.sun.messaging.jmq.jmsserver.BrokerStateHandler.prepareShutdown()


       BrokerStateHandler bsh = Globals.getBrokerStateHandler();
       if (time == null || time.intValue() == 0) {
           // stop new connections
           // set the flag to notify everyone we are shutting down
           BrokerStateHandler.shuttingDown = true;
           bsh.prepareShutdown(failover);
         }

         //if we aren't doing an unsafe exit, give us time to complete any operations
         waitForHandlersToComplete(20);
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.