public static < K , V , C extends IMap < K , V > > C monitor ( MeterRegistry registry , C cache , Iterable < Tag > tags ) { new HazelcastCacheMetrics ( cache , tags ) . bindTo ( registry ) ; return cache ; }
Record metrics on a Hazelcast cache .