Class TimedSupplier<T>

java.lang.Object
com.atlassian.crowd.directory.ldap.monitoring.TimedSupplier<T>
All Implemented Interfaces:
Supplier<T>

public abstract class TimedSupplier<T> extends Object implements Supplier<T>
  • Constructor Details

    • TimedSupplier

      public TimedSupplier(String operationDescription, long thresholdMillis)
    • TimedSupplier

      public TimedSupplier(String operationDescription, com.google.common.base.Stopwatch stopWatch, org.slf4j.Logger log, long thresholdMillis)
  • Method Details

    • timedGet

      public abstract T timedGet()
    • get

      public final T get()
      Specified by:
      get in interface Supplier<T>