Karthik,
I'm think you need to call execute on the StoreObject, like so:
> > > riakClient = RiakFactory.pbcClient();
> > > myBucket =
> > > riakClient.createBucket("myBucket").nVal(1).execute();
> > > for (int i = 1; i <= 1000000; ++i) {
> > > final String key = String.valueOf(i);
> > > myBucket.store(key, new
> > > String(payload)).returnBody(false).execute();
> > > }
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
--
Ian Plosker <[email protected]>
Developer Advocate
Basho Technologies
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com