org.apache.accumulo.core.client.impl
Class MasterClient

java.lang.Object
  extended by org.apache.accumulo.core.client.impl.MasterClient

public class MasterClient
extends Object


Constructor Summary
MasterClient()
           
 
Method Summary
static void close(MasterClientService.Iface iface)
           
static void execute(Instance instance, ClientExec<MasterClientService.Client> exec)
           
static
<T> T
execute(Instance instance, ClientExecReturn<T,MasterClientService.Client> exec)
           
static void executeGeneric(Instance instance, ClientExec<MasterClientService.Client> exec)
           
static void executeNamespace(Instance instance, ClientExec<MasterClientService.Client> exec)
           
static void executeTable(Instance instance, ClientExec<MasterClientService.Client> exec)
           
static MasterClientService.Client getConnection(Instance instance)
           
static MasterClientService.Client getConnectionWithRetry(Instance instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterClient

public MasterClient()
Method Detail

getConnectionWithRetry

public static MasterClientService.Client getConnectionWithRetry(Instance instance)

getConnection

public static MasterClientService.Client getConnection(Instance instance)

close

public static void close(MasterClientService.Iface iface)

execute

public static <T> T execute(Instance instance,
                            ClientExecReturn<T,MasterClientService.Client> exec)
                 throws AccumuloException,
                        AccumuloSecurityException,
                        TableNotFoundException
Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException

executeGeneric

public static void executeGeneric(Instance instance,
                                  ClientExec<MasterClientService.Client> exec)
                           throws AccumuloException,
                                  AccumuloSecurityException,
                                  TableNotFoundException
Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException

executeTable

public static void executeTable(Instance instance,
                                ClientExec<MasterClientService.Client> exec)
                         throws AccumuloException,
                                AccumuloSecurityException,
                                TableNotFoundException
Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException

executeNamespace

public static void executeNamespace(Instance instance,
                                    ClientExec<MasterClientService.Client> exec)
                             throws AccumuloException,
                                    AccumuloSecurityException,
                                    NamespaceNotFoundException
Throws:
AccumuloException
AccumuloSecurityException
NamespaceNotFoundException

execute

public static void execute(Instance instance,
                           ClientExec<MasterClientService.Client> exec)
                    throws AccumuloException,
                           AccumuloSecurityException
Throws:
AccumuloException
AccumuloSecurityException


Copyright © 2015 Apache Accumulo Project. All rights reserved.