Package jade.core.replication

Examples of jade.core.replication.MainReplicationService$CommandIncomingFilter


        String oldAddress = (platformInfo != null ? platformInfo[1] : null);
        String currentPlatformName = myContainer.getPlatformID();
        String currentAddress = myContainer.getServiceManager().getLocalAddress();
        myPS.storePlatformInfo(currentPlatformName, currentAddress);
        if (currentPlatformName.equals(oldPlatformName)) {
          MainReplicationService replService = (MainReplicationService) myContainer.getServiceFinder().findService(MainReplicationService.NAME);
          // Do not activate the fault recovery procedure if the Main Container is replicated: in that case all containers were already adopted
          // by existing Main Container replicas.
          if (replService == null || replService.getAllSlices().length <= 1) {
            // FAULT RECOVERY PROCEDURE
            myLogger.log(Logger.INFO, "Initiating fault recovery procedure...");
            // Recover all non-child nodes first
            Map allNodes = myPS.getAllNodes(false);
            Iterator it = allNodes.keySet().iterator();
View Full Code Here

TOP

Related Classes of jade.core.replication.MainReplicationService$CommandIncomingFilter

Copyright © 2018 www.massapicom. 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.