public static Ehcache monitor ( MeterRegistry registry , Ehcache cache , Iterable < Tag > tags ) { new EhCache2Metrics ( cache , tags ) . bindTo ( registry ) ; return cache ; }
Record metrics on an EhCache cache .