This is a class I put together to handle pooling connections and reusing them with the Async API.
https://github.com/nearinfinity/blur/blob/master/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/AsyncClientPool.java The class should be thread safe, so the normal usage would be to create one instance per JVM and reuse. Example: https://gist.github.com/1242991 On Mon, Sep 26, 2011 at 1:18 PM, stream <[email protected]> wrote: > Hi, everyone. > i am naive about thrift, and i wanna know how to use the AsyncClient in > 0.7.0 > someone could give me a instance for it. thanks > > by the way, someone could help me to explain the meaning of > TAsyncClientManager > i don't know how to use.
