Interface BarrageSubscriptionPerformanceLogger


public interface BarrageSubscriptionPerformanceLogger
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    The statType values recorded by barrage itself.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
     
    void
    log(String tableId, String tableKey, String statType, Instant now, org.HdrHistogram.Histogram hist)
    Publish the statistics accumulated in hist for a single (subscription, statistic) pair.
  • Method Details

    • getDefaultTableName

      static String getDefaultTableName()
    • log

      void log(String tableId, String tableKey, String statType, Instant now, org.HdrHistogram.Histogram hist)
      Publish the statistics accumulated in hist for a single (subscription, statistic) pair.
      Parameters:
      tableId - the identity of the subscribed table
      tableKey - the barrage performance key of the subscribed table
      statType - which statistic this entry describes; see BarrageSubscriptionPerformanceLogger.StatType
      now - the time at which this cycle was flushed
      hist - the values recorded during this cycle, in the unit named by statType