|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TrafficLogger
A traffic logger interface.
| Method Summary | |
|---|---|
void |
addTo(TrafficLogger other)
Add the current log into the other TrafficLogger. |
void |
clear()
Clear the current log. |
long |
read()
Get the number of read bytes |
void |
read(long read)
Log a read |
long |
transferFrom()
Get the number of bytes transferred from this resource. |
void |
transferFrom(long transferred)
Log a file transfer. |
long |
transferTo()
Get the number of bytes transferred to this resourse. |
void |
transferTo(long transferred)
Lot a file transfer. |
long |
write()
Get the number of written bytes. |
void |
write(long written)
Log a write |
| Method Detail |
|---|
void read(long read)
read - the number of bytes read.long read()
void write(long written)
written - the number of bytes written.long write()
void transferFrom(long transferred)
transferred - the number of bytes transferred.long transferFrom()
void transferTo(long transferred)
transferred - the number of bytes transferred.long transferTo()
void clear()
void addTo(TrafficLogger other)
other - the traffic logger to add this statistics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||