Class MetadataCache<T>


  • public class MetadataCache<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MetadataCache​(int index, java.util.function.BiFunction<java.lang.String,​com.codahale.metrics.Metric,​T> createMetadata)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get​(java.lang.String name, com.codahale.metrics.Metric metric)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MetadataCache

        public MetadataCache​(int index,
                             java.util.function.BiFunction<java.lang.String,​com.codahale.metrics.Metric,​T> createMetadata)
    • Method Detail

      • get

        public T get​(java.lang.String name,
                     com.codahale.metrics.Metric metric)