Class MasterClient
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.MasterClient
-
public class MasterClient extends Object
-
-
Constructor Summary
Constructors Constructor Description MasterClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclose(MasterClientService.Iface iface)static <T> Texecute(ClientContext context, ClientExecReturn<T,MasterClientService.Client> exec)static voidexecuteGeneric(ClientContext context, ClientExec<MasterClientService.Client> exec)static voidexecuteNamespace(ClientContext context, ClientExec<MasterClientService.Client> exec)static voidexecuteTable(ClientContext context, ClientExec<MasterClientService.Client> exec)static voidexecuteVoid(ClientContext context, ClientExec<MasterClientService.Client> exec)static MasterClientService.ClientgetConnection(ClientContext context)static MasterClientService.ClientgetConnectionWithRetry(ClientContext context)
-
-
-
Method Detail
-
getConnectionWithRetry
public static MasterClientService.Client getConnectionWithRetry(ClientContext context)
-
getConnection
public static MasterClientService.Client getConnection(ClientContext context)
-
close
public static void close(MasterClientService.Iface iface)
-
execute
public static <T> T execute(ClientContext context, ClientExecReturn<T,MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
-
executeGeneric
public static void executeGeneric(ClientContext context, ClientExec<MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
-
executeTable
public static void executeTable(ClientContext context, ClientExec<MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
-
executeNamespace
public static void executeNamespace(ClientContext context, ClientExec<MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, NamespaceNotFoundException
-
executeVoid
public static void executeVoid(ClientContext context, ClientExec<MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException
-
-