Class DaVinciClientBasedMetadata
- java.lang.Object
-
- com.linkedin.venice.fastclient.meta.AbstractStoreMetadata
-
- com.linkedin.venice.fastclient.meta.VeniceClientBasedMetadata
-
- com.linkedin.venice.fastclient.meta.DaVinciClientBasedMetadata
-
- All Implemented Interfaces:
StoreMetadata
,SchemaReader
,java.io.Closeable
,java.lang.AutoCloseable
@Deprecated public class DaVinciClientBasedMetadata extends VeniceClientBasedMetadata
Deprecated.A wrapper with a DaVinci client subscribed to the corresponding Meta store to serve data required byStoreMetadata
. TODO All data are cached locally and refreshed periodically for performance reasons before either object cache becomes available for meta system store or a decorator class of the underlying rocksDB classes is made available for consuming deserialized meta system store data directly.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.fastclient.meta.AbstractStoreMetadata
routingStrategy, storeName
-
-
Constructor Summary
Constructors Constructor Description DaVinciClientBasedMetadata(ClientConfig clientConfig, DaVinciClient<StoreMetaKey,StoreMetaValue> daVinciClient)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected StoreMetaValue
getStoreMetaValue(StoreMetaKey key)
Deprecated.void
start()
Deprecated.-
Methods inherited from class com.linkedin.venice.fastclient.meta.VeniceClientBasedMetadata
close, getCompressor, getCurrentStoreVersion, getKeySchema, getLatestUpdateSchema, getLatestValueSchema, getLatestValueSchemaId, getPartitionId, getReplicas, getUpdateSchema, getValueSchema, getValueSchemaId
-
Methods inherited from class com.linkedin.venice.fastclient.meta.AbstractStoreMetadata
getBatchGetLimit, getCompressor, getInstanceHealthMonitor, getPartitionId, getReplicas, getStoreName, setRoutingStrategy, trackHealthBasedOnRequestToInstance
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.linkedin.venice.fastclient.meta.StoreMetadata
getReplicas, isReady
-
-
-
-
Constructor Detail
-
DaVinciClientBasedMetadata
public DaVinciClientBasedMetadata(ClientConfig clientConfig, DaVinciClient<StoreMetaKey,StoreMetaValue> daVinciClient)
Deprecated.
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
start
in interfaceStoreMetadata
- Overrides:
start
in classVeniceClientBasedMetadata
-
getStoreMetaValue
protected StoreMetaValue getStoreMetaValue(StoreMetaKey key)
Deprecated.- Specified by:
getStoreMetaValue
in classVeniceClientBasedMetadata
-
-