Package org.apache.accumulo.test.proxy
Class TestProxyClient
- java.lang.Object
-
- org.apache.accumulo.test.proxy.TestProxyClient
-
public class TestProxyClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AccumuloProxy.Client
proxy
protected org.apache.thrift.transport.TTransport
transport
-
Constructor Summary
Constructors Constructor Description TestProxyClient(String host, int port)
TestProxyClient(String host, int port, org.apache.thrift.protocol.TProtocolFactory protoFactory)
TestProxyClient(String host, int port, org.apache.thrift.protocol.TProtocolFactory protoFactory, String proxyPrimary, org.apache.hadoop.security.UserGroupInformation ugi)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static void
main(String[] args)
AccumuloProxy.Client
proxy()
-
-
-
Field Detail
-
proxy
protected AccumuloProxy.Client proxy
-
transport
protected org.apache.thrift.transport.TTransport transport
-
-
Constructor Detail
-
TestProxyClient
public TestProxyClient(String host, int port) throws org.apache.thrift.transport.TTransportException
- Throws:
org.apache.thrift.transport.TTransportException
-
TestProxyClient
public TestProxyClient(String host, int port, org.apache.thrift.protocol.TProtocolFactory protoFactory) throws org.apache.thrift.transport.TTransportException
- Throws:
org.apache.thrift.transport.TTransportException
-
TestProxyClient
public TestProxyClient(String host, int port, org.apache.thrift.protocol.TProtocolFactory protoFactory, String proxyPrimary, org.apache.hadoop.security.UserGroupInformation ugi) throws SaslException, org.apache.thrift.transport.TTransportException
- Throws:
SaslException
org.apache.thrift.transport.TTransportException
-
-
Method Detail
-
close
public void close()
-
proxy
public AccumuloProxy.Client proxy()
-
-