Package org.apache.curator.ensemble.exhibitor

Examples of org.apache.curator.ensemble.exhibitor.ExhibitorEnsembleProvider


            .connectString(connectString)
            .retryPolicy(retryPolicy);
        if ( exhibitorPort > 0 )
        {
            Exhibitors                  exhibitors = new Exhibitors(hostnames, exhibitorPort, backupConnectionStringProvider);
            ExhibitorEnsembleProvider   ensembleProvider = new ExhibitorEnsembleProvider(exhibitors, new DefaultExhibitorRestClient(), exhibitorRestPath + "exhibitor/v1/cluster/list", pollingMs, retryPolicy);
            builder = builder.ensembleProvider(ensembleProvider);
        }
        else
        {
            log.warn("Exhibitor on the shared ZooKeeper config ensemble is not being used.");
View Full Code Here

TOP

Related Classes of org.apache.curator.ensemble.exhibitor.ExhibitorEnsembleProvider

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.