public class NodeProgress
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NodeProgress.DownloadStatus |
Constructor and Description |
---|
NodeProgress() |
NodeProgress(long bytes,
NodeProgress.DownloadStatus s,
int dCount,
int cCount) |
Modifier and Type | Method and Description |
---|---|
long |
getBytesDownloaded() |
int |
getChecksumErrorCount() |
int |
getDownloadErrorCount() |
NodeProgress.DownloadStatus |
getStatus() |
void |
setBytesDownloaded(long bytesDownloaded) |
void |
setChecksumErrorCount(int checksumErrorCount) |
void |
setDownloadErrorCount(int downloadErrorCount) |
void |
setStatus(NodeProgress.DownloadStatus status) |
public NodeProgress()
public NodeProgress(long bytes, NodeProgress.DownloadStatus s, int dCount, int cCount)
public long getBytesDownloaded()
public void setBytesDownloaded(long bytesDownloaded)
public NodeProgress.DownloadStatus getStatus()
public void setStatus(NodeProgress.DownloadStatus status)
public int getDownloadErrorCount()
public void setDownloadErrorCount(int downloadErrorCount)
public int getChecksumErrorCount()
public void setChecksumErrorCount(int checksumErrorCount)