Package com.linkedin.davinci
Class DaVinciBackend
java.lang.Object
com.linkedin.davinci.DaVinciBackend
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorDescriptionDaVinciBackend
(ClientConfig clientConfig, VeniceConfigLoader configLoader, Optional<Set<String>> managedClients, ICProvider icProvider, Optional<ObjectCacheConfig> cacheConfig, DaVinciRecordTransformerConfig recordTransformerConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
deleteStore
(String storeName) getStoreOrThrow
(String storeName) protected void
handleStoreChanged
(StoreBackend storeBackend) boolean
protected final boolean
protected void
reportPushStatus
(String kafkaTopic, int partition, ExecutionStatus status) protected void
reportPushStatus
(String kafkaTopic, int partition, ExecutionStatus status, Optional<String> incrementalPushVersion) void
verifyCacheConfigEquality
(ObjectCacheConfig newObjectCacheConfig, String storeName)
-
Constructor Details
-
DaVinciBackend
public DaVinciBackend(ClientConfig clientConfig, VeniceConfigLoader configLoader, Optional<Set<String>> managedClients, ICProvider icProvider, Optional<ObjectCacheConfig> cacheConfig, DaVinciRecordTransformerConfig recordTransformerConfig)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getStoreOrThrow
-
getStoreRepository
-
getObjectCache
-
getSchemaRepository
-
getIngestionBackend
-
verifyCacheConfigEquality
public void verifyCacheConfigEquality(@Nullable ObjectCacheConfig newObjectCacheConfig, String storeName) -
getCompressorFactory
-
reportPushStatus
-
reportPushStatus
protected void reportPushStatus(String kafkaTopic, int partition, ExecutionStatus status, Optional<String> incrementalPushVersion) -
deleteStore
-
isIsolatedIngestion
protected final boolean isIsolatedIngestion() -
handleStoreChanged
-
hasCurrentVersionBootstrapping
public boolean hasCurrentVersionBootstrapping()
-