You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by Mohit Anchlia <mo...@gmail.com> on 2012/10/25 03:02:09 UTC
Thread safety in RpcClientFactory
Is object returned by "rpcClient =
RpcClientFactory.getDefaultInstance(hostName,
port);" thread safe? I am currently sharing rpcClient object with several
threads.
Re: Thread safety in RpcClientFactory
Posted by Mike Percy <mp...@apache.org>.
Yes, it's thread safe.
Regards
Mike
On Wed, Oct 24, 2012 at 9:02 PM, Mohit Anchlia <mo...@gmail.com>wrote:
> Is object returned by "rpcClient = RpcClientFactory.getDefaultInstance(hostName,
> port);" thread safe? I am currently sharing rpcClient object with several
> threads.