Class TimedExecutor

  • All Implemented Interfaces:
    java.util.concurrent.Executor

    public class TimedExecutor
    extends java.lang.Object
    implements java.util.concurrent.Executor
    An Executor that is timed
    • Constructor Summary

      Constructors 
      Constructor Description
      TimedExecutor​(MeterRegistry registry, java.util.concurrent.Executor delegate, java.lang.String executorName, java.lang.Iterable<Tag> tags)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.Runnable command)  
      • Methods inherited from class java.lang.Object

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

      • TimedExecutor

        public TimedExecutor​(MeterRegistry registry,
                             java.util.concurrent.Executor delegate,
                             java.lang.String executorName,
                             java.lang.Iterable<Tag> tags)
    • Method Detail

      • execute

        public void execute​(java.lang.Runnable command)
        Specified by:
        execute in interface java.util.concurrent.Executor