Examples of cancelForceQuitTask()


Examples of com.webobjects.monitor._private.MInstance.cancelForceQuitTask()

                                              throw new MonitorException("No response to REFUSE " + anInstance.displayName());
                                        } else if (command.equals("ACCEPT")) {
                                            if (theApplication.localMonitor().setAcceptInstance(anInstance) == null)
                                              throw new MonitorException("No response to ACCEPT " + anInstance.displayName());
                                            //we got a response, cancel any force quit task
                                            anInstance.cancelForceQuitTask();
                                        } else if (command.equals("QUIT")) {
                                            anInstance.setShouldDie(true);
                                        }
                                        commandWotaskdResponse.addObject(successElement);
                                    } catch (MonitorException me) {
View Full Code Here

Examples of com.webobjects.monitor._private.MInstance.cancelForceQuitTask()

        try {
            MInstance instance = ((Application) WOApplication.application()).siteConfig().instanceWithHostAndPort(instanceName, hostAddress, port);
            if (instance != null) {
                instance.registerStop(new NSTimestamp());
                instance.setShouldDie(false);
                instance.cancelForceQuitTask();
            }
        } finally {
            theApplication._lock.endReading();
        }
    }
View Full Code Here

Examples of com.webobjects.monitor._private.MInstance.cancelForceQuitTask()

            MInstance instance = ((Application) WOApplication.application()).siteConfig().instanceWithHostAndPort(instanceName, hostAddress, port);

            if (instance != null) {
                instance.registerCrash(new NSTimestamp());
                instance.setShouldDie(false);
                instance.cancelForceQuitTask();
            }
        } finally {
            theApplication._lock.endReading();
        }
    }
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.