Package com.linkedin.venice.store
Class StoreStateReader
java.lang.Object
com.linkedin.venice.store.StoreStateReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
This class retrieves the corresponding Store object from a router endpoint which contains the latest store state.
E.g. store level configs and versions. This class doesn't maintain any local cache of the retrieved store state.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static StoreStateReader
getInstance
(AbstractAvroStoreClient storeClient) static StoreStateReader
getInstance
(ClientConfig clientConfig) getStore()
-
Method Details
-
getInstance
-
getInstance
-
getStore
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-