Examples of withHost()


Examples of com.basho.riak.client.raw.http.HTTPClientConfig.Builder.withHost()

     */
    @Override public ClusterConfig<HTTPClientConfig> addHosts(HTTPClientConfig config, String... hosts) {
        Builder b = HTTPClientConfig.Builder.from(config);

        for (String host : hosts) {
            addClient(b.withHost(host).build());
        }

        return this;
    }
}
View Full Code Here

Examples of com.basho.riak.client.raw.pbc.PBClientConfig.Builder.withHost()

     */
    @Override public ClusterConfig<PBClientConfig> addHosts(PBClientConfig config, String... hosts) {
        Builder b = PBClientConfig.Builder.from(config);

        for(String host : hosts) {
            addClient(b.withHost(host).build());
        }

        return this;
    }

View Full Code Here

Examples of com.rupertjones.globalcron.server.JobDescriptorBuilder.withHost()

        hostDAO.upsert(host);
    }
    @Test
    public void test_create() {
        JobDescriptorBuilder builder = new JobDescriptorBuilder();
        builder = builder.withHost(host);
        JobDescriptor job = builder.build();

        jobDescriptorDAO.upsert(job);

        JobDescriptor result = jobDescriptorDAO.findById(job.getId());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.