close
Description:
Closes the underlying streams and cancels any inflight operations of the Client .
This is important to call when you are done with the client so that any outstanding operations that have caused this to hold additional references are cancelled.
Failure to call this method results in a leak of Client.
Parameters:
this |
A Client |
Returns:
true if successful; otherwise false and throws is set. |