org.exoplatform.social.common.service.utils
Class LogWatch
java.lang.Object
org.exoplatform.social.common.service.utils.LogWatch
- All Implemented Interfaces:
- Cloneable
public class LogWatch
- extends Object
- implements Cloneable
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)
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
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.