public class CloseableThriftClient extends Object implements AutoCloseable
AutoCloseable to automatically return the thrift client to the ThriftClientProvider.| Constructor and Description |
|---|
CloseableThriftClient(ThriftClientProvider provider,
TransactionServiceThriftClient thriftClient) |
public CloseableThriftClient(ThriftClientProvider provider, TransactionServiceThriftClient thriftClient)
public TransactionServiceThriftClient getThriftClient()
public void close()
close in interface AutoCloseableCopyright © 2016 The Apache Software Foundation. All rights reserved.