Package com.linkedin.venice.meta
Interface ReadWriteStoreRepository
-
- All Superinterfaces:
ReadOnlyStoreRepository
,VeniceResource
- All Known Implementing Classes:
HelixReadWriteStoreRepository
,HelixReadWriteStoreRepositoryAdapter
public interface ReadWriteStoreRepository extends ReadOnlyStoreRepository
Interface defined read and write operations to access stores.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addStore(Store store)
Add store into repository.void
deleteStore(java.lang.String name)
Delete store from repository.void
updateStore(Store store)
Update store in repository.-
Methods inherited from interface com.linkedin.venice.meta.ReadOnlyStoreRepository
getAllStores, getBatchGetLimit, getStore, getStoreOrThrow, getTotalStoreReadQuota, hasStore, isReadComputationEnabled, refreshOneStore, registerStoreDataChangedListener, unregisterStoreDataChangedListener, waitVersion, waitVersion
-
Methods inherited from interface com.linkedin.venice.VeniceResource
clear, refresh
-
-
-
-
Method Detail
-
updateStore
void updateStore(Store store)
Update store in repository.- Parameters:
store
- store need to be udpated.
-
deleteStore
void deleteStore(java.lang.String name)
Delete store from repository.- Parameters:
name
- name of wantted store.
-
addStore
void addStore(Store store)
Add store into repository.- Parameters:
store
- store need to be added.
-
-