On 01/29/2013 06:35 PM, Rajesh Khan wrote:
Are we not suppose to call that ?
What that method does is block until the server has done all outstanding work requested by that client session. There is nothing prohibiting you calling it, I am just curious as to why you are doing so.
If you want to block until the acknowledge() call is actually processed by the server you can use the optional parameter to that. (which is more or less equivalent to calling sync() after acknowledge().
Of course since sync() may block pending a roundtrip to the server, it may impact overall throughput. If you don't have a clear reason for using it, I would leave it out.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
