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)
           
 
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

getConnection

public static MasterClientService.Iface getConnection(Instance instance)
                                               throws org.apache.thrift.transport.TTransportException
Throws:
org.apache.thrift.transport.TTransportException

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 © 2012 The Apache Software Foundation. All Rights Reserved.