Package org.jboss.ejb.client

Examples of org.jboss.ejb.client.ClusterAffinity


        return true;
    }

    @Override
    public Affinity getStrictAffinity() {
        return new ClusterAffinity(this.cache.getCacheManager().getClusterName());
    }
View Full Code Here


        return true;
    }

    @Override
    public Affinity getStrictAffinity() {
        return new ClusterAffinity(this.cache.getCacheManager().getClusterName());
    }
View Full Code Here

        return this.poolConfig;
    }

    public Affinity getWeakAffinity() {
        String clusterName = this.clusterName.getOptionalValue();
        return (clusterName != null) ? new ClusterAffinity(clusterName) : Affinity.NONE;
    }
View Full Code Here

        return this.poolConfig;
    }

    public Affinity getWeakAffinity() {
        Group group = this.group.getOptionalValue();
        return (group != null) && (group.getLocalNode().getSocketAddress() != null) ? new ClusterAffinity(group.getName()) : Affinity.NONE;
    }
View Full Code Here

        }
    }

    @Override
    public Affinity getStrictAffinity() {
        return this.beanCache.getCacheConfiguration().clustering().cacheMode().isClustered() ? new ClusterAffinity(this.registry.getGroup().getName()) : new NodeAffinity(this.registry.getLocalEntry().getKey());
    }
View Full Code Here

        return true;
    }

    @Override
    public Affinity getStrictAffinity() {
        return new ClusterAffinity(this.cache.getCacheManager().getClusterName());
    }
View Full Code Here

        return true;
    }

    @Override
    public Affinity getStrictAffinity() {
        return new ClusterAffinity(this.cache.getCacheManager().getClusterName());
    }
View Full Code Here

TOP

Related Classes of org.jboss.ejb.client.ClusterAffinity

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.