Package com.webobjects.monitor._private

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


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

            if (instance != null) {
                instance.updateRegistration(new NSTimestamp());
                // This call will reset shouldDie status!;
                return !instance.shouldDieAndReset();
            }
            ((Application) WOApplication.application()).localMonitor().registerUnknownInstance(instanceName, host, port);
        } 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.