All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stratio.crossdata.server.actors.TimeTracker Maven / Gradle / Ivy

There is a newer version: 0.5.1
Show newest version
package com.stratio.crossdata.server.actors;
/**
 * Trait to be able to time the operations inside an actor.
 */
public  interface TimeTracker {
  /**
   * Name of the timer.
   */
  public  java.lang.String timerName () ;
  /**
   * Timer gauge.
   */
  public  com.codahale.metrics.Timer timerMetrics () ;
  /**
   * Initialize the timer.
   */
  public  com.codahale.metrics.Timer.Context initTimer () ;
  /**
   * Stop the timer.
   * @param context The timing context.
   * @return Whether it has stop.
   */
  public  void finishTimer (com.codahale.metrics.Timer.Context context) ;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy