// Thrift clients are not thread-safe, and for maximum efficiency, new requests are made
// on the channel thread, as the pipeline starts to clear out. So we either need to
// synchronize on "sendRequest" or make the initial calls to fill the pipeline on the
// channel thread as well.
channel.executeInIoThread(new Runnable()
{
@Override
public void run()
{
fillRequestPipeline(clientWrapper);