Package com.sun.enterprise.ee.web.sessmgmt

Examples of com.sun.enterprise.ee.web.sessmgmt.ReplicationHealthChecker


            return;
        }
        //do not block this thread if jxta pipes have never
        //been initialized this means no replication enabled app was
        //ever deployed since this server instance started
        ReplicationHealthChecker healthChecker = ReplicationHealthChecker.getInstance();
        if(!healthChecker.isPipeInitializationCalled()) {
            return;
        }
        //FIXME: this will be triggered from separate asadmin command
        //this is just for testing
        if(ReplicationUtil.isRollingUpgradeEnabled()) {
View Full Code Here


        ReplicationUtil repUtil = ReplicationUtil.createReplicationUtil();
        if ((beKey != null) && repUtil.isInstanceLoadBalancedByCLB()){
            loadReceivedState.setProperty(ReplicationState.IGNORE_REMOVE_INSTANCE_NAME,
                repUtil.getFailoverServerInstanceForBeKey(beKey));
        } else {
            ReplicationHealthChecker healthChecker = ReplicationHealthChecker.getInstance();
            String currentReplicaPartner = healthChecker.getCurrentPartnerInstanceName();
                loadReceivedState.setProperty(ReplicationState.IGNORE_REMOVE_INSTANCE_NAME,
                currentReplicaPartner);
        }
        sender.sendBroadcastQuery(loadReceivedState);
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.ee.web.sessmgmt.ReplicationHealthChecker

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.