Class NoopScope

  • All Implemented Interfaces:
    com.uber.m3.tally.Scope, java.lang.AutoCloseable

    public final class NoopScope
    extends java.lang.Object
    implements com.uber.m3.tally.Scope
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.uber.m3.tally.Capabilities capabilities()  
      void close()  
      com.uber.m3.tally.Counter counter​(java.lang.String name)  
      com.uber.m3.tally.Gauge gauge​(java.lang.String name)  
      static com.uber.m3.tally.Scope getInstance()  
      com.uber.m3.tally.Histogram histogram​(java.lang.String name, com.uber.m3.tally.Buckets buckets)  
      com.uber.m3.tally.Scope subScope​(java.lang.String name)  
      com.uber.m3.tally.Scope tagged​(java.util.Map<java.lang.String,​java.lang.String> tags)  
      com.uber.m3.tally.Timer timer​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • counter

        public com.uber.m3.tally.Counter counter​(java.lang.String name)
        Specified by:
        counter in interface com.uber.m3.tally.Scope
      • gauge

        public com.uber.m3.tally.Gauge gauge​(java.lang.String name)
        Specified by:
        gauge in interface com.uber.m3.tally.Scope
      • timer

        public com.uber.m3.tally.Timer timer​(java.lang.String name)
        Specified by:
        timer in interface com.uber.m3.tally.Scope
      • histogram

        public com.uber.m3.tally.Histogram histogram​(java.lang.String name,
                                                     com.uber.m3.tally.Buckets buckets)
        Specified by:
        histogram in interface com.uber.m3.tally.Scope
      • tagged

        public com.uber.m3.tally.Scope tagged​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Specified by:
        tagged in interface com.uber.m3.tally.Scope
      • subScope

        public com.uber.m3.tally.Scope subScope​(java.lang.String name)
        Specified by:
        subScope in interface com.uber.m3.tally.Scope
      • capabilities

        public com.uber.m3.tally.Capabilities capabilities()
        Specified by:
        capabilities in interface com.uber.m3.tally.Scope
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface com.uber.m3.tally.Scope
      • getInstance

        public static com.uber.m3.tally.Scope getInstance()