It is correctly, currently MockStoreClientFactory creates a new
instance of the in-memory storage engine on each request. The simplest
thing you could do now is to wrap the MockStoreClientFactory with a
CachingStoreClientFactory, which would mean the same store is
returned:
StoreClientFactory scf = new CachingStoreClientFactory(new
MockStoreClientFactory());
StoreClient<String, byte[]> s1 = scf.getStoreClient("asdf");
Thanks,
- Alex
> --
> You received this message because you are subscribed to the Google Groups "project-voldemort" group.
> To post to this group, send email to project-...@googlegroups.com.
> To unsubscribe from this group, send email to project-voldem...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/project-voldemort?hl=en.
>
>
Jason