@ Override public < K , V > StoreClient < K , V > getStoreClient ( final String storeName , final InconsistencyResolver < Versioned < V > > resolver ) { // wrap it in LazyStoreClient here so any direct calls to this method // returns a lazy client return new LazyStoreClient < K , V > ( new Callable < StoreClient < K , V > > ( ) { @ Override public StoreClient < K , V > call ( ) throws Exception { Store < K , V , Object > clientStore = getRawStore ( storeName , resolver ) ; return new RESTClient < K , V > ( storeName , clientStore ) ; } } , true ) ; }
Creates a REST client used to perform Voldemort operations against the Coordinator