java.lang.Object
org.exoplatform.social.common.service.utils.LogWatch
All Implemented Interfaces:
Cloneable

public class LogWatch extends Object implements Cloneable
  • Constructor Details

    • LogWatch

      public LogWatch()
    • LogWatch

      public LogWatch(String tag)
    • LogWatch

      public LogWatch(String tag, String message)
    • LogWatch

      public LogWatch(long startTime, long elapsedTime, String process, String message)
  • Method Details

    • start

      public void start()
    • getStartTime

      public long getStartTime()
    • elapsedTime

      public long elapsedTime()
    • getElapsedTime

      public long getElapsedTime()
    • elapsedTime

      public long elapsedTime(TimeUnit timeUnit)
    • stop

      public String stop()
    • getMessage

      public String getMessage()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public LogWatch clone()
      Overrides:
      clone in class Object
    • toString

      public String toString(long value, TimeUnit timeUnit)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object