Class AggVersionedBlobTransferStats

    • Constructor Detail

      • AggVersionedBlobTransferStats

        public AggVersionedBlobTransferStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                                             ReadOnlyStoreRepository metadataRepository,
                                             VeniceServerConfig serverConfig)
    • Method Detail

      • recordBlobTransferResponsesCount

        public void recordBlobTransferResponsesCount​(java.lang.String storeName,
                                                     int version)
        Record the blob transfer request count
        Parameters:
        storeName -
        version -
      • recordBlobTransferResponsesBasedOnBoostrapStatus

        public void recordBlobTransferResponsesBasedOnBoostrapStatus​(java.lang.String storeName,
                                                                     int version,
                                                                     boolean isBlobTransferSuccess)
        Record the blob transfer request count based on the bootstrap status
        Parameters:
        storeName - the store name
        version - the version of the store
        isBlobTransferSuccess - true if the blob transfer is successful, false otherwise
      • recordBlobTransferFileReceiveThroughput

        public void recordBlobTransferFileReceiveThroughput​(java.lang.String storeName,
                                                            int version,
                                                            double throughput)
        Record the blob transfer file send throughput
        Parameters:
        storeName - the store name
        version - the version of the store
        throughput - the throughput in MB/sec
      • recordBlobTransferTimeInSec

        public void recordBlobTransferTimeInSec​(java.lang.String storeName,
                                                int version,
                                                double timeInSec)
        Record the blob transfer file receive throughput
        Parameters:
        storeName - the store name
        version - the version of the store
        timeInSec - the time in seconds