void function ( MetricRegistry arg0 , String arg1 , final Collection < ? > arg2 ) { arg0 . register ( new AbstractGauge < Integer > ( arg1 ) { @ Override public Integer read ( ) { return arg2 . size ( ) ; } } ) ; }
registers the size of a collection as a gauge . concode_field_sep PlaceHolder placeHolder concode_field_sep Supplier<Number> asSupplier