Package com.linkedin.davinci.stats
Class AggBlobTransferStats
java.lang.Object
com.linkedin.davinci.stats.AggBlobTransferStats
Aggregates blob transfer statistics across both versioned and host-level metrics.
This class serves as a facade that coordinates recording blob transfer events to both
version-specific statistics and host-level aggregated statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionAggBlobTransferStats(AggVersionedBlobTransferStats aggVersionedBlobTransferStats, AggHostLevelIngestionStats aggHostLevelIngestionStats) Constructs an AggBlobTransferStats instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the versioned blob transfer statistics aggregator.voidrecordBlobTransferBytesReceived(String storeName, int version, long value) Records the number of bytes received during a blob transfer operation.voidrecordBlobTransferBytesSent(String storeName, int version, long value) Records the number of bytes sent during a blob transfer operation.
-
Constructor Details
-
AggBlobTransferStats
public AggBlobTransferStats(AggVersionedBlobTransferStats aggVersionedBlobTransferStats, AggHostLevelIngestionStats aggHostLevelIngestionStats) Constructs an AggBlobTransferStats instance.- Parameters:
aggVersionedBlobTransferStats- the versioned blob transfer statistics aggregatoraggHostLevelIngestionStats- the host-level ingestion statistics aggregator
-
-
Method Details
-
recordBlobTransferBytesSent
Records the number of bytes sent during a blob transfer operation. This method updates both version-specific and host-level statistics.- Parameters:
storeName- the name of the Venice storeversion- the version number of the storevalue- the number of bytes sent
-
recordBlobTransferBytesReceived
Records the number of bytes received during a blob transfer operation. This method updates both version-specific and host-level statistics.- Parameters:
storeName- the name of the Venice storeversion- the version number of the storevalue- the number of bytes received
-
getAggVersionedBlobTransferStats
Returns the versioned blob transfer statistics aggregator.- Returns:
- the
AggVersionedBlobTransferStatsinstance
-