Package com.bazaarvoice.curator

Examples of com.bazaarvoice.curator.ResolvingEnsembleProvider


                .setNameFormat("CuratorFramework[" + _connectString + "]-%d")
                .setDaemon(true)
                .build();

        return CuratorFrameworkFactory.builder()
                .ensembleProvider(new ResolvingEnsembleProvider(_connectString.or(DEFAULT_CONNECT_STRING)))
                .retryPolicy(_setterRetryPolicy.or(_configRetryPolicy.or(DEFAULT_RETRY_POLICY)))
                .namespace(_namespace.orNull())
                .threadFactory(threadFactory)
                .build();
    }
View Full Code Here


                (_configRetryPolicy != null)
                        ? _configRetryPolicy
                        : DEFAULT_RETRY_POLICY
        );
        return CuratorFrameworkFactory.builder()
                .ensembleProvider(new ResolvingEnsembleProvider(_connectString.or(DEFAULT_CONNECT_STRING)))
                .retryPolicy(retry)
                .namespace(_namespace.orNull())
                .threadFactory(threadFactory)
                .build();
    }
View Full Code Here

TOP

Related Classes of com.bazaarvoice.curator.ResolvingEnsembleProvider

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.