com.msi.threadpuddle
Class Statistics

java.lang.Object
  |
  +--com.msi.threadpuddle.Statistics

public class Statistics
extends java.lang.Object

Statistics - job execution statistics.

Version:
1.0
Author:
Ken Thompson

Field Summary
private  long startTime
           
private  long stopTime
           
private  long submitTime
           
 
Constructor Summary
Statistics(long submitTime, long startTime, long stopTime)
          Creates a new Statistics instance.
 
Method Summary
 long getStartTime()
          Get the value of startTime.
 long getStopTime()
          Get the value of stopTime.
 long getSubmitTime()
          Get the value of submitTime.
 void setStartTime(long v)
          Set the value of startTime.
 void setStopTime(long v)
          Set the value of stopTime.
 void setSubmitTime(long v)
          Set the value of submitTime.
 java.lang.String toString()
          toString - representation of the current statistics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

submitTime

private long submitTime

startTime

private long startTime

stopTime

private long stopTime
Constructor Detail

Statistics

public Statistics(long submitTime,
                  long startTime,
                  long stopTime)
Creates a new Statistics instance.

Parameters:
submitTime - a long value
startTime - a long value
stopTime - a long value
Method Detail

toString

public java.lang.String toString()
toString - representation of the current statistics.

Overrides:
toString in class java.lang.Object
Returns:
a String value

getStopTime

public long getStopTime()
Get the value of stopTime.

Returns:
value of stopTime.

setStopTime

public void setStopTime(long v)
Set the value of stopTime.

Parameters:
v - Value to assign to stopTime.

getStartTime

public long getStartTime()
Get the value of startTime.

Returns:
value of startTime.

setStartTime

public void setStartTime(long v)
Set the value of startTime.

Parameters:
v - Value to assign to startTime.

getSubmitTime

public long getSubmitTime()
Get the value of submitTime.

Returns:
value of submitTime.

setSubmitTime

public void setSubmitTime(long v)
Set the value of submitTime.

Parameters:
v - Value to assign to submitTime.


Copyright © 2001-2002 MileStone Solutions, Inc. All Rights Reserved.