Methods Summary |
---|
public float | getAvailability()
return( dm_stats.getAvailability());
|
public int | getCheckingDoneInThousandNotation()
org.gudy.azureus2.core3.disk.DiskManager disk = dm.getDiskManager();
if ( disk != null ){
return( disk.getCompleteRecheckStatus());
}
return( -1 );
|
public int | getCompleted()
return( dm_stats.getCompleted());
|
public long | getDiscarded()
return( dm_stats.getDiscarded());
|
public long | getDownloadAverage()
return( dm_stats.getDataReceiveRate());
|
public int | getDownloadCompleted(boolean bLive)
return( dm_stats.getDownloadCompleted(bLive) );
|
public java.lang.String | getDownloadDirectory()
return( dm.getSaveLocation().getParent());
|
public long | getDownloaded()
return( dm_stats.getTotalDataBytesReceived());
|
public java.lang.String | getETA()
return(DisplayFormatters.formatETA(dm_stats.getETA()));
|
public java.lang.String | getElapsedTime()
return( dm_stats.getElapsedTime());
|
public long | getHashFails()
return( dm_stats.getHashFailCount());
|
public int | getHealth()
switch( dm.getHealthStatus()){
case DownloadManager.WEALTH_STOPPED:
{
return( DownloadStats.HEALTH_STOPPED );
}
case DownloadManager.WEALTH_NO_TRACKER:
{
return( DownloadStats.HEALTH_NO_TRACKER );
}
case DownloadManager.WEALTH_NO_REMOTE:
{
return( DownloadStats.HEALTH_NO_REMOTE );
}
case DownloadManager.WEALTH_OK:
{
return( DownloadStats.HEALTH_OK );
}
case DownloadManager.WEALTH_KO:
{
return( DownloadStats.HEALTH_KO );
}
case DownloadManager.WEALTH_ERROR:
{
return( DownloadStats.HEALTH_ERROR );
}
default:
{
Debug.out( "Invalid health status" );
return( dm.getHealthStatus());
}
}
|
public long | getRemaining()
return( dm_stats.getRemaining());
|
public long | getSecondsDownloading()
return dm_stats.getSecondsDownloading();
|
public long | getSecondsOnlySeeding()
return dm_stats.getSecondsOnlySeeding();
|
public long | getSecondsSinceLastDownload()
return(dm_stats.getTimeSinceLastDataReceivedInSeconds());
|
public long | getSecondsSinceLastUpload()
return(dm_stats.getTimeSinceLastDataSentInSeconds());
|
public int | getShareRatio()
return( dm_stats.getShareRatio());
|
public java.lang.String | getStatus()
return( DisplayFormatters.formatDownloadStatusDefaultLocale( dm));
|
public java.lang.String | getStatus(boolean localised)
return (localised)? DisplayFormatters.formatDownloadStatus( dm ) : getStatus();
|
public java.lang.String | getTargetFileOrDir()
return( dm.getSaveLocation().toString());
|
public long | getTimeStarted()
return (dm_stats.getTimeStarted());
|
public long | getTimeStartedSeeding()
return dm_stats.getTimeStartedSeeding();
|
public long | getTotalAverage()
return( dm_stats.getTotalAverage());
|
public java.lang.String | getTrackerStatus()
return(dm.getTrackerStatus());
|
public long | getUploadAverage()
return( dm_stats.getDataSendRate());
|
public long | getUploaded()
return( dm_stats.getTotalDataBytesSent());
|