Package org.rioproject.impl.fdh

Examples of org.rioproject.impl.fdh.FaultDetectionHandler.terminate()


        }

        /* Stop all FaultDetectionHandler instances */
        for (Map.Entry<ServiceID, FaultDetectionHandler> entry : fdhTable.entrySet()) {
            FaultDetectionHandler fdh = entry.getValue();
            fdh.terminate();
        }

        /* If requested, destroy service instances */
        if(destroyServices &&
           svcElement.getProvisionType()!=ProvisionType.EXTERNAL)
View Full Code Here


     */
    public void terminate() {
        for(Enumeration<FaultDetectionHandler> en = fdhTable.elements();
            en.hasMoreElements();) {
            FaultDetectionHandler fdh = en.nextElement();
            fdh.terminate();
        }
        eventConsumer.deregister(this);
        eventConsumer.terminate();
        if(sdm != null)
            sdm.terminate();
View Full Code Here

            }
            Set<ServiceID> keySet = fdhTable.keySet();
            for (ServiceID aKeySet : keySet) {
                FaultDetectionHandler fdh = fdhTable.get(aKeySet);
                if (fdh != null) {
                    fdh.terminate();
                }
            }
            if(lookupServiceHandler != null)
                lookupServiceHandler.terminate();
        }
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.