edu.whoi.ursa.argoDatabase.log
Class Log.Timer

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.log.Log.Timer
Enclosing class:
Log

public static class Log.Timer
extends java.lang.Object


Field Summary
private  java.lang.String comment
           
private  java.lang.Integer i
           
private static java.lang.Long startTime
           
private  java.lang.Integer total
           
 
Constructor Summary
Log.Timer(java.lang.Integer total)
           
Log.Timer(java.lang.Integer total, java.lang.String comment)
           
Log.Timer(java.lang.String timerName)
           
 
Method Summary
 java.lang.String getComment()
           
 java.lang.Integer getI()
           
static java.lang.Long getStarttime()
           
 java.lang.Integer getTotal()
           
 void lastTime()
           
 java.lang.Integer nextTime()
           
 java.lang.Integer nextTime(java.lang.Boolean verbose)
           
 java.lang.Integer nextTime(java.lang.String comment)
           
 java.lang.Integer nextTime(java.lang.String comment, java.lang.Boolean verbose)
           
 void setComment(java.lang.String comment)
           
 void setI(java.lang.Integer i)
           
 void setTotal(java.lang.Integer total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startTime

private static final java.lang.Long startTime

i

private java.lang.Integer i

total

private java.lang.Integer total

comment

private java.lang.String comment
Constructor Detail

Log.Timer

public Log.Timer(java.lang.String timerName)

Log.Timer

public Log.Timer(java.lang.Integer total)
Parameters:
startTime -
total -

Log.Timer

public Log.Timer(java.lang.Integer total,
                 java.lang.String comment)
Parameters:
startTime -
total -
Method Detail

nextTime

public java.lang.Integer nextTime(java.lang.Boolean verbose)

nextTime

public java.lang.Integer nextTime()

nextTime

public java.lang.Integer nextTime(java.lang.String comment)

nextTime

public java.lang.Integer nextTime(java.lang.String comment,
                                  java.lang.Boolean verbose)

lastTime

public void lastTime()

getI

public java.lang.Integer getI()
Returns:
the i

setI

public void setI(java.lang.Integer i)
Parameters:
i - the i to set

getTotal

public java.lang.Integer getTotal()
Returns:
the total

setTotal

public void setTotal(java.lang.Integer total)
Parameters:
total - the total to set

getComment

public java.lang.String getComment()
Returns:
the comment

setComment

public void setComment(java.lang.String comment)
Parameters:
comment - the comment to set

getStarttime

public static java.lang.Long getStarttime()
Returns:
the starttime