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.Iface> exec)
           
static
<T> T
execute(Instance instance, ClientExecReturn<T,MasterClientService.Iface> exec)
           
static MasterClientService.Iface getConnection(Instance instance)
           
static MasterClientService.Iface 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.Iface getConnectionWithRetry(Instance instance)

getConnection

public static MasterClientService.Iface getConnection(Instance instance)

close

public static void close(MasterClientService.Iface iface)

execute

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

execute

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


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.