|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.FileStatistics
public class FileStatistics
Statistics on transfers and deletes. This will be continually updated by the clients.
| Constructor Summary | |
|---|---|
FileStatistics()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addClient(FTPClientInterface client)
Add a client to be used in calculating statistics |
void |
clear()
Reset the statistics back to zero |
int |
getDeleteCount()
Get the number of files deleted since the count was reset |
int |
getDownloadCount()
Get the number of files downloaded since the count was reset |
int |
getUploadCount()
Get the number of files uploaded since the count was reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileStatistics()
downloadCount - uploadCount - deleteCount - | Method Detail |
|---|
public void addClient(FTPClientInterface client)
client - extra clientpublic int getDownloadCount()
public int getUploadCount()
public int getDeleteCount()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||