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

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


                MODE_SIP, (String)bestState.getId(),
                getApplicationId(), bestState.getVersion(),
                ReplicationUtil.getInstanceName(),
                ReplicationDialogFragmentManager.MESSAGE_BROADCAST_LOAD_RECEIVED_DIALOG_FRAGMENT);

        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);
View Full Code Here


        // Send acknowledgement of load receipt
        // No response to wait for in this case
        JxtaReplicationSender sender
            = JxtaReplicationSender.createInstance();

        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);
View Full Code Here

TOP

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

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.