Package com.linkedin.davinci.stats
Class AggVersionedBlobTransferStats
java.lang.Object
com.linkedin.davinci.stats.AbstractVeniceAggVersionedStats<BlobTransferStats,BlobTransferStatsReporter>
com.linkedin.davinci.stats.AggVersionedBlobTransferStats
- All Implemented Interfaces:
StoreDataChangedListener
public class AggVersionedBlobTransferStats
extends AbstractVeniceAggVersionedStats<BlobTransferStats,BlobTransferStatsReporter>
The store level stats for blob transfer
-
Field Summary
Fields inherited from class com.linkedin.davinci.stats.AbstractVeniceAggVersionedStats
metadataRepository
-
Constructor Summary
ConstructorDescriptionAggVersionedBlobTransferStats
(io.tehuti.metrics.MetricsRepository metricsRepository, ReadOnlyStoreRepository metadataRepository, VeniceServerConfig serverConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoid
recordBlobTransferFileReceiveThroughput
(String storeName, int version, double throughput) Record the blob transfer file send throughputvoid
recordBlobTransferResponsesBasedOnBoostrapStatus
(String storeName, int version, boolean isBlobTransferSuccess) Record the blob transfer request count based on the bootstrap statusvoid
recordBlobTransferResponsesCount
(String storeName, int version) Record the blob transfer request countvoid
recordBlobTransferTimeInSec
(String storeName, int version, double timeInSec) Record the blob transfer file receive throughputMethods inherited from class com.linkedin.davinci.stats.AbstractVeniceAggVersionedStats
addStore, getCurrentVersion, getFutureVersion, getStats, getTotalStats, handleStoreChanged, handleStoreCreated, handleStoreDeleted, isFutureVersion, loadAllStats, recordVersionedAndTotalStat, registerConditionalStats, updateStatsVersionInfo, updateTotalStats
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.meta.StoreDataChangedListener
handleStoreDeleted
-
Constructor Details
-
AggVersionedBlobTransferStats
public AggVersionedBlobTransferStats(io.tehuti.metrics.MetricsRepository metricsRepository, ReadOnlyStoreRepository metadataRepository, VeniceServerConfig serverConfig)
-
-
Method Details
-
recordBlobTransferResponsesCount
Record the blob transfer request count- Parameters:
storeName
-version
-
-
recordBlobTransferResponsesBasedOnBoostrapStatus
public void recordBlobTransferResponsesBasedOnBoostrapStatus(String storeName, int version, boolean isBlobTransferSuccess) Record the blob transfer request count based on the bootstrap status- Parameters:
storeName
- the store nameversion
- the version of the storeisBlobTransferSuccess
- true if the blob transfer is successful, false otherwise
-
recordBlobTransferFileReceiveThroughput
public void recordBlobTransferFileReceiveThroughput(String storeName, int version, double throughput) Record the blob transfer file send throughput- Parameters:
storeName
- the store nameversion
- the version of the storethroughput
- the throughput in MB/sec
-
recordBlobTransferTimeInSec
Record the blob transfer file receive throughput- Parameters:
storeName
- the store nameversion
- the version of the storetimeInSec
- the time in seconds
-