Package flex.messaging.cluster

Examples of flex.messaging.cluster.ClusterManager


        setId(mbid);

        log = Log.createLog();

        clusterManager = new ClusterManager(this);       
        systemSettings = new SystemSettings();
        systemSettingsThreadLocal.set(systemSettings);
        clusterManager = new ClusterManager(this);                  
        sessionMetricsTracker = new SessionMetricsTracker(this);
       
        if (isManaged())
        {
            controller = new MessageBrokerControl(this);
View Full Code Here


            securityConstraint = broker.getSecurityConstraint(securityConstraintRef);
            // No need to throw an error as MessageBroker automatically throws
            // an error if no such constraint exists
        }

        ClusterManager cm = broker.getClusterManager();
       
        // Set clustering if needed
        if (getNetworkSettings().getClusterId() != null || cm.getDefaultClusterId() != null)
        {
            cm.clusterDestination(this);           
        }
    }
View Full Code Here

    public boolean isBackendShared()
    {
        if (!isStarted())
            return false;
       
        ClusterManager clm = getService().getMessageBroker().getClusterManager();
        boolean backendShared = clm.isBackendShared(getService().getClass().getName(), getId());
        return backendShared;
    }
View Full Code Here

    public boolean isClustered()
    {
        if (!isStarted())
            return false;
       
        ClusterManager clm = getService().getMessageBroker().getClusterManager();
        boolean clusterReplicated = clm.isDestinationClustered(getService().getClass().getName(), getId());
        return clusterReplicated;
    }
View Full Code Here

TOP

Related Classes of flex.messaging.cluster.ClusterManager

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.