Examples of executeAsync()


Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip.bucketName = bucketName.toString();
        ip.indexKey = 123456L;
        ip.value = "My Object Value!";
       
        StoreValue sv = new StoreValue.Builder(ip).build();
        RiakFuture<StoreValue.Response, Location> svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        IndexedPojo ip2 = new IndexedPojo();
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip2.bucketName = bucketName.toString();
        ip2.indexKey = 123456L;
        ip2.value = "My Object Value!";
       
        sv = new StoreValue.Builder(ip2).build();
        svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip.bucketName = bucketName.toString();
        ip.indexKey = 1L;
        ip.value = "My Object Value!";
       
        StoreValue sv = new StoreValue.Builder(ip).build();
        RiakFuture<StoreValue.Response, Location> svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        IndexedPojo ip2 = new IndexedPojo();
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip2.bucketName = bucketName.toString();
        ip2.indexKey = 25L;
        ip2.value = "My Object Value!";
       
        sv = new StoreValue.Builder(ip2).build();
        svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip.bucketName = bucketName.toString();
        ip.indexKey = new BigInteger("91234567890123456789012345678901234567890");
        ip.value = "My Object Value!";
       
        StoreValue sv = new StoreValue.Builder(ip).build();
        RiakFuture<StoreValue.Response, Location> svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        IndexedPojo ip2 = new IndexedPojo();
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip2.bucketName = bucketName.toString();
        ip2.indexKey = new BigInteger("91234567890123456789012345678901234567890");
        ip2.value = "My Object Value!";
       
        sv = new StoreValue.Builder(ip2).build();
        svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip.bucketName = bucketName.toString();
        ip.indexKey = new BigInteger("91234567890123456789012345678901234567890");
        ip.value = "My Object Value!";
       
        StoreValue sv = new StoreValue.Builder(ip).build();
        RiakFuture<StoreValue.Response, Location> svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        IndexedPojo ip2 = new IndexedPojo();
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip2.bucketName = bucketName.toString();
        ip2.indexKey = new BigInteger("91234567890123456789012345678901234567898");
        ip2.value = "My Object Value!";
       
        sv = new StoreValue.Builder(ip2).build();
        svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip.bucketName = bucketName.toString();
        ip.indexKey = indexKey.getValue();
        ip.value = "My Object Value!";
       
        StoreValue sv = new StoreValue.Builder(ip).build();
        RiakFuture<StoreValue.Response, Location> svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.executeAsync()

        ip.bucketName = bucketName.toString();
        ip.indexKey = "index_test_index_key";
        ip.value = "My Object Value!";
       
        StoreValue sv = new StoreValue.Builder(ip).build();
        RiakFuture<StoreValue.Response, Location> svFuture = client.executeAsync(sv);
       
        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        IndexedPojo ip2 = new IndexedPojo();
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.