Class ManagerThriftClient
- java.lang.Object
-
- org.apache.accumulo.core.rpc.clients.ThriftClientTypes<ManagerClientService.Client>
-
- org.apache.accumulo.core.rpc.clients.ManagerThriftClient
-
- All Implemented Interfaces:
ManagerClient<ManagerClientService.Client>
public class ManagerThriftClient extends ThriftClientTypes<ManagerClientService.Client> implements ManagerClient<ManagerClientService.Client>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.rpc.clients.ThriftClientTypes
ThriftClientTypes.Exec<R,C>, ThriftClientTypes.ExecVoid<C>
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.core.rpc.clients.ThriftClientTypes
CLIENT, COMPACTOR, COORDINATOR, FATE, GC, MANAGER, REPLICATION_COORDINATOR, REPLICATION_SERVICER, TABLET_SCAN, TABLET_SERVER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
execute(ClientContext context, ThriftClientTypes.Exec<R,ManagerClientService.Client> exec)
<R> R
executeTableCommand(ClientContext context, ThriftClientTypes.Exec<R,ManagerClientService.Client> exec)
void
executeVoid(ClientContext context, ThriftClientTypes.ExecVoid<ManagerClientService.Client> exec)
void
executeVoidTableCommand(ClientContext context, ThriftClientTypes.ExecVoid<ManagerClientService.Client> exec)
ManagerClientService.Client
getConnection(ClientContext context)
-
Methods inherited from class org.apache.accumulo.core.rpc.clients.ThriftClientTypes
getClient, getClientFactory, getConnectionWithRetry, getServiceName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.rpc.clients.ManagerClient
getManagerConnection
-
-
-
-
Method Detail
-
getConnection
public ManagerClientService.Client getConnection(ClientContext context)
- Overrides:
getConnection
in classThriftClientTypes<ManagerClientService.Client>
-
executeTableCommand
public <R> R executeTableCommand(ClientContext context, ThriftClientTypes.Exec<R,ManagerClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
-
execute
public <R> R execute(ClientContext context, ThriftClientTypes.Exec<R,ManagerClientService.Client> exec) throws AccumuloException, AccumuloSecurityException
- Overrides:
execute
in classThriftClientTypes<ManagerClientService.Client>
- Throws:
AccumuloException
AccumuloSecurityException
-
executeVoidTableCommand
public void executeVoidTableCommand(ClientContext context, ThriftClientTypes.ExecVoid<ManagerClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
-
executeVoid
public void executeVoid(ClientContext context, ThriftClientTypes.ExecVoid<ManagerClientService.Client> exec) throws AccumuloException, AccumuloSecurityException
- Overrides:
executeVoid
in classThriftClientTypes<ManagerClientService.Client>
- Throws:
AccumuloException
AccumuloSecurityException
-
-