|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.model.filetransfer.FileTransferStatistics
public class FileTransferStatistics
Statistics class that can be queried to get detailed information about a file transfer. This information might be useful to display pretty progress monitor text for example.
Method Summary | |
---|---|
float |
getAverageThroughput()
Returns the average throughput in bytes per second. |
int |
getElapsedTime()
Returns the number of seconds the download is already active. |
int |
getEstimatedRemainingTime()
Gets the number of remaining seconds (estimated). |
int |
getFileSize()
. |
float |
getPercentTransferred()
Returns a value between 0 and 1 stating the percentage of already transfered data. |
int |
getRemainingBytes()
returns the amount of bytes that has not yet been transferred. |
int |
getTransferredBytes()
. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getFileSize()
public int getTransferredBytes()
public float getPercentTransferred()
public float getAverageThroughput()
public int getEstimatedRemainingTime()
public int getRemainingBytes()
public int getElapsedTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |