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 void
close(MasterClientService.Iface iface)
static <T> T
execute(ClientContext context, ClientExecReturn<T,MasterClientService.Client> exec)
static void
executeGeneric(ClientContext context, ClientExec<MasterClientService.Client> exec)
static void
executeNamespace(ClientContext context, ClientExec<MasterClientService.Client> exec)
static void
executeTable(ClientContext context, ClientExec<MasterClientService.Client> exec)
static void
executeVoid(ClientContext context, ClientExec<MasterClientService.Client> exec)
static MasterClientService.Client
getConnection(ClientContext context)
static MasterClientService.Client
getConnectionWithRetry(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
-
-