Is BytesProgressWatcher the only way to get progress

View: New views
2 Messages — Rating Filter:   Alert me  

Is BytesProgressWatcher the only way to get progress

by Trig Gullberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How do we get progress for a given upload?  The BytesProgressWatcher seems to only give progress of what is written to some internal buffer not what is written on the wire.  Can we get upload progress somehow through the jets3t api?  Or do we simply have to plug something into the apache http client that jets3t uses?  Please help.  We would like to have a standard way to get the progress instead of hacking up a short term solution.

Thanks,

Trig

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Is BytesProgressWatcher the only way to get progress

by James Murty-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Trig,

BytesProgressWatcher is the only mechanism JetS3t provides for monitoring the progress of data transfers. You are right that it monitors the progress of bytes being queued, rather than actual transmission on the wire.

To monitor on-the-wire throughput you will need to hook into the HttpClient library somehow. I'm not sure if there is a straight-forward way of doing this, I never looked into it in depth for JetS3t because I wanted a mechanism that wasn't dependent on a particular library.

James

---
http://www.jamesmurty.com


On Thu, Jul 30, 2009 at 3:36 PM, Trig Gullberg <tgullberg@...> wrote:
How do we get progress for a given upload?  The BytesProgressWatcher seems to only give progress of what is written to some internal buffer not what is written on the wire.  Can we get upload progress somehow through the jets3t api?  Or do we simply have to plug something into the apache http client that jets3t uses?  Please help.  We would like to have a standard way to get the progress instead of hacking up a short term solution.

Thanks,

Trig

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...