protected ColumnFamilyHistogram createColumnFamilyHistogram ( String name , Histogram keyspaceHistogram ) { Histogram cfHistogram = Metrics . newHistogram ( factory . createMetricName ( name ) , true ) ; register ( name , cfHistogram ) ; return new ColumnFamilyHistogram ( cfHistogram , keyspaceHistogram , Metrics . newHistogram ( globalNameFactory . createMetricName ( name ) , true ) ) ; }
Create a histogram - like interface that will register both a CF keyspace and global level histogram and forward any updates to both