|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.event.ProgressEvent.Statistics
Partial statistics
Field Summary | |
long |
achieved
Number of bytes actually achieved |
long |
elapsedTimeMilliseconds
Time elapsed since the beginning |
float |
encodingRatio
The ratio between encoded data and plain data |
long |
limit
Number of bytes to be achieved |
Method Summary | |
int |
achievedPercentage()
Gets the achieved percentage, as an int in the range 0..100 inclusive |
java.lang.String |
achievedSizeString()
Gets the number of bytes already achieved in a human-readable format |
java.lang.String |
getCompressionRatioString()
Gets the compression ratio in a human-readable format |
java.lang.String |
getRate()
Gets the processing rate in a human-readable format |
long |
getRemainingDuration()
Gets the estimated remaining duration. |
java.lang.String |
getRemainingDurationString()
Gets the estimated remaining duration, as a human-remaining string |
long |
getTotalDuration()
Gets the estimated total duration. |
java.lang.String |
getTotalDurationString()
Gets the estimated total duration, as a human-readable string |
boolean |
isAtBeginning()
Wether this job is finished |
boolean |
isFinished()
Wether this job is finished |
java.lang.String |
limitSizeString()
Gets the number of bytes already achieved in a human-readable format |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final long achieved
public final long limit
public final long elapsedTimeMilliseconds
public final float encodingRatio
Method Detail |
public java.lang.String achievedSizeString()
public java.lang.String limitSizeString()
public int achievedPercentage()
int
in the range 0..100 inclusive
public java.lang.String getRate()
public java.lang.String getCompressionRatioString()
public long getTotalDuration()
public java.lang.String getTotalDurationString()
public long getRemainingDuration()
public java.lang.String getRemainingDurationString()
public boolean isFinished()
public boolean isAtBeginning()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |