Package com.linkedin.davinci.repository
Class ThinClientMetaStoreBasedRepository
java.lang.Object
com.linkedin.davinci.repository.NativeMetadataRepository
com.linkedin.davinci.repository.ThinClientMetaStoreBasedRepository
- All Implemented Interfaces:
ClusterInfoProvider,ReadOnlySchemaRepository,ReadOnlyStoreRepository,SubscriptionBasedReadOnlyStoreRepository,VeniceResource
-
Field Summary
Fields inherited from class com.linkedin.davinci.repository.NativeMetadataRepository
clientConfig, schemaMap, subscribedStoreMap -
Constructor Summary
ConstructorsConstructorDescriptionThinClientMetaStoreBasedRepository(ClientConfig clientConfig, VeniceProperties backendConfig, ICProvider icProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()TODO: we may need to rename this function to be 'close' since this resource should not used any more after calling this function.protected StoreConfigfetchStoreConfigFromRemote(String storeName) protected StorefetchStoreFromRemote(String storeName, String clusterName) protected SchemaDatagetSchemaData(String storeName) protected StoreMetaValuegetStoreMetaValue(String storeName, StoreMetaKey key) voidMethods inherited from class com.linkedin.davinci.repository.NativeMetadataRepository
cacheStoreConfigFromRemote, getAllStores, getAndCacheSchemaData, getBatchGetLimit, getDerivedSchema, getDerivedSchemaId, getDerivedSchemas, getInstance, getInstance, getKeySchema, getLatestDerivedSchema, getReplicationMetadataSchema, getReplicationMetadataSchemas, getStore, getStoreOrThrow, getSupersetOrLatestValueSchema, getSupersetSchema, getTotalStoreReadQuota, getValueSchema, getValueSchemaId, getValueSchemaInternally, getValueSchemas, getVeniceCluster, hasStore, hasValueSchema, isReadComputationEnabled, notifyStoreChanged, notifyStoreCreated, notifyStoreDeleted, putStore, refresh, refreshOneStore, registerStoreDataChangedListener, removeStore, removeStoreSchema, start, unregisterStoreDataChangedListener, unsubscribeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.linkedin.venice.meta.ReadOnlySchemaRepository
getLatestDerivedSchemaMethods inherited from interface com.linkedin.venice.meta.ReadOnlyStoreRepository
waitVersion, waitVersion
-
Constructor Details
-
ThinClientMetaStoreBasedRepository
public ThinClientMetaStoreBasedRepository(ClientConfig clientConfig, VeniceProperties backendConfig, ICProvider icProvider)
-
-
Method Details
-
clear
public void clear()Description copied from class:NativeMetadataRepositoryTODO: we may need to rename this function to be 'close' since this resource should not used any more after calling this function.- Specified by:
clearin interfaceVeniceResource- Overrides:
clearin classNativeMetadataRepository
-
subscribe
- Specified by:
subscribein interfaceSubscriptionBasedReadOnlyStoreRepository- Overrides:
subscribein classNativeMetadataRepository- Throws:
InterruptedException
-
fetchStoreConfigFromRemote
- Specified by:
fetchStoreConfigFromRemotein classNativeMetadataRepository
-
fetchStoreFromRemote
- Specified by:
fetchStoreFromRemotein classNativeMetadataRepository
-
getStoreMetaValue
-
getSchemaData
- Specified by:
getSchemaDatain classNativeMetadataRepository
-