Examples of FaultDetectionHandler


Examples of org.rioproject.impl.fdh.FaultDetectionHandler

            }
        }

        /* 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

Examples of org.rioproject.impl.fdh.FaultDetectionHandler

     * Terminate the ProvisionMonitorPeer, cleaning up listeners, etc...
     */
    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

Examples of org.rioproject.impl.fdh.FaultDetectionHandler

                    logger.warn("Exception {} removing Listener from LookupCache", t.getClass().getName());
                }
            }
            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.