Package com.linkedin.venice.blobtransfer
Class ServerBlobFinder
java.lang.Object
com.linkedin.venice.blobtransfer.ServerBlobFinder
- All Implemented Interfaces:
BlobFinder
,AutoCloseable
-
Constructor Summary
ConstructorDescriptionServerBlobFinder
(CompletableFuture<HelixCustomizedViewOfflinePushRepository> customizedViewRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
discoverBlobPeers
(String storeName, int version, int partitionId) This method will look through the partitions for the store and version provided until it finds the partition requested, it will then return the URL of the instances that are ready to serve in the partition.
-
Constructor Details
-
ServerBlobFinder
public ServerBlobFinder(CompletableFuture<HelixCustomizedViewOfflinePushRepository> customizedViewRepository)
-
-
Method Details
-
discoverBlobPeers
Description copied from interface:BlobFinder
This method will look through the partitions for the store and version provided until it finds the partition requested, it will then return the URL of the instances that are ready to serve in the partition.- Specified by:
discoverBlobPeers
in interfaceBlobFinder
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-