org.apache.accumulo.core.master.thrift
Class MasterClientService.Client

java.lang.Object
  extended by org.apache.thrift.TServiceClient
      extended by org.apache.accumulo.core.master.thrift.FateService.Client
          extended by org.apache.accumulo.core.master.thrift.MasterClientService.Client
All Implemented Interfaces:
FateService.Iface, MasterClientService.Iface
Enclosing class:
MasterClientService

public static class MasterClientService.Client
extends FateService.Client
implements MasterClientService.Iface


Nested Class Summary
static class MasterClientService.Client.Factory
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_
 
Constructor Summary
MasterClientService.Client(org.apache.thrift.protocol.TProtocol prot)
           
MasterClientService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
Method Summary
 MasterMonitorInfo getMasterStats(TInfo tinfo, TCredentials credentials)
           
 long initiateFlush(TInfo tinfo, TCredentials credentials, String tableName)
           
 MasterMonitorInfo recv_getMasterStats()
           
 long recv_initiateFlush()
           
 void recv_removeNamespaceProperty()
           
 void recv_removeSystemProperty()
           
 void recv_removeTableProperty()
           
 void recv_setMasterGoalState()
           
 void recv_setNamespaceProperty()
           
 void recv_setSystemProperty()
           
 void recv_setTableProperty()
           
 void recv_shutdown()
           
 void recv_shutdownTabletServer()
           
 void recv_waitForFlush()
           
 void removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property)
           
 void removeSystemProperty(TInfo tinfo, TCredentials credentials, String property)
           
 void removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property)
           
 void reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split)
           
 void reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet)
           
 void send_getMasterStats(TInfo tinfo, TCredentials credentials)
           
 void send_initiateFlush(TInfo tinfo, TCredentials credentials, String tableName)
           
 void send_removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property)
           
 void send_removeSystemProperty(TInfo tinfo, TCredentials credentials, String property)
           
 void send_removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property)
           
 void send_reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split)
           
 void send_reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet)
           
 void send_setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state)
           
 void send_setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value)
           
 void send_setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value)
           
 void send_setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value)
           
 void send_shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers)
           
 void send_shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force)
           
 void send_waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops)
           
 void setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state)
           
 void setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value)
           
 void setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value)
           
 void setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value)
           
 void shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers)
           
 void shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force)
           
 void waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops)
           
 
Methods inherited from class org.apache.accumulo.core.master.thrift.FateService.Client
beginFateOperation, executeFateOperation, finishFateOperation, recv_beginFateOperation, recv_executeFateOperation, recv_finishFateOperation, recv_waitForFateOperation, send_beginFateOperation, send_executeFateOperation, send_finishFateOperation, send_waitForFateOperation, waitForFateOperation
 
Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.accumulo.core.master.thrift.FateService.Iface
beginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperation
 

Constructor Detail

MasterClientService.Client

public MasterClientService.Client(org.apache.thrift.protocol.TProtocol prot)

MasterClientService.Client

public MasterClientService.Client(org.apache.thrift.protocol.TProtocol iprot,
                                  org.apache.thrift.protocol.TProtocol oprot)
Method Detail

initiateFlush

public long initiateFlush(TInfo tinfo,
                          TCredentials credentials,
                          String tableName)
                   throws ThriftSecurityException,
                          ThriftTableOperationException,
                          org.apache.thrift.TException
Specified by:
initiateFlush in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_initiateFlush

public void send_initiateFlush(TInfo tinfo,
                               TCredentials credentials,
                               String tableName)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_initiateFlush

public long recv_initiateFlush()
                        throws ThriftSecurityException,
                               ThriftTableOperationException,
                               org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

waitForFlush

public void waitForFlush(TInfo tinfo,
                         TCredentials credentials,
                         String tableName,
                         ByteBuffer startRow,
                         ByteBuffer endRow,
                         long flushID,
                         long maxLoops)
                  throws ThriftSecurityException,
                         ThriftTableOperationException,
                         org.apache.thrift.TException
Specified by:
waitForFlush in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_waitForFlush

public void send_waitForFlush(TInfo tinfo,
                              TCredentials credentials,
                              String tableName,
                              ByteBuffer startRow,
                              ByteBuffer endRow,
                              long flushID,
                              long maxLoops)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_waitForFlush

public void recv_waitForFlush()
                       throws ThriftSecurityException,
                              ThriftTableOperationException,
                              org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

setTableProperty

public void setTableProperty(TInfo tinfo,
                             TCredentials credentials,
                             String tableName,
                             String property,
                             String value)
                      throws ThriftSecurityException,
                             ThriftTableOperationException,
                             org.apache.thrift.TException
Specified by:
setTableProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_setTableProperty

public void send_setTableProperty(TInfo tinfo,
                                  TCredentials credentials,
                                  String tableName,
                                  String property,
                                  String value)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_setTableProperty

public void recv_setTableProperty()
                           throws ThriftSecurityException,
                                  ThriftTableOperationException,
                                  org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

removeTableProperty

public void removeTableProperty(TInfo tinfo,
                                TCredentials credentials,
                                String tableName,
                                String property)
                         throws ThriftSecurityException,
                                ThriftTableOperationException,
                                org.apache.thrift.TException
Specified by:
removeTableProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_removeTableProperty

public void send_removeTableProperty(TInfo tinfo,
                                     TCredentials credentials,
                                     String tableName,
                                     String property)
                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_removeTableProperty

public void recv_removeTableProperty()
                              throws ThriftSecurityException,
                                     ThriftTableOperationException,
                                     org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

setNamespaceProperty

public void setNamespaceProperty(TInfo tinfo,
                                 TCredentials credentials,
                                 String ns,
                                 String property,
                                 String value)
                          throws ThriftSecurityException,
                                 ThriftTableOperationException,
                                 org.apache.thrift.TException
Specified by:
setNamespaceProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_setNamespaceProperty

public void send_setNamespaceProperty(TInfo tinfo,
                                      TCredentials credentials,
                                      String ns,
                                      String property,
                                      String value)
                               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_setNamespaceProperty

public void recv_setNamespaceProperty()
                               throws ThriftSecurityException,
                                      ThriftTableOperationException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

removeNamespaceProperty

public void removeNamespaceProperty(TInfo tinfo,
                                    TCredentials credentials,
                                    String ns,
                                    String property)
                             throws ThriftSecurityException,
                                    ThriftTableOperationException,
                                    org.apache.thrift.TException
Specified by:
removeNamespaceProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_removeNamespaceProperty

public void send_removeNamespaceProperty(TInfo tinfo,
                                         TCredentials credentials,
                                         String ns,
                                         String property)
                                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_removeNamespaceProperty

public void recv_removeNamespaceProperty()
                                  throws ThriftSecurityException,
                                         ThriftTableOperationException,
                                         org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

setMasterGoalState

public void setMasterGoalState(TInfo tinfo,
                               TCredentials credentials,
                               MasterGoalState state)
                        throws ThriftSecurityException,
                               org.apache.thrift.TException
Specified by:
setMasterGoalState in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_setMasterGoalState

public void send_setMasterGoalState(TInfo tinfo,
                                    TCredentials credentials,
                                    MasterGoalState state)
                             throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_setMasterGoalState

public void recv_setMasterGoalState()
                             throws ThriftSecurityException,
                                    org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

shutdown

public void shutdown(TInfo tinfo,
                     TCredentials credentials,
                     boolean stopTabletServers)
              throws ThriftSecurityException,
                     org.apache.thrift.TException
Specified by:
shutdown in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_shutdown

public void send_shutdown(TInfo tinfo,
                          TCredentials credentials,
                          boolean stopTabletServers)
                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_shutdown

public void recv_shutdown()
                   throws ThriftSecurityException,
                          org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

shutdownTabletServer

public void shutdownTabletServer(TInfo tinfo,
                                 TCredentials credentials,
                                 String tabletServer,
                                 boolean force)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Specified by:
shutdownTabletServer in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_shutdownTabletServer

public void send_shutdownTabletServer(TInfo tinfo,
                                      TCredentials credentials,
                                      String tabletServer,
                                      boolean force)
                               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_shutdownTabletServer

public void recv_shutdownTabletServer()
                               throws ThriftSecurityException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

setSystemProperty

public void setSystemProperty(TInfo tinfo,
                              TCredentials credentials,
                              String property,
                              String value)
                       throws ThriftSecurityException,
                              org.apache.thrift.TException
Specified by:
setSystemProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_setSystemProperty

public void send_setSystemProperty(TInfo tinfo,
                                   TCredentials credentials,
                                   String property,
                                   String value)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_setSystemProperty

public void recv_setSystemProperty()
                            throws ThriftSecurityException,
                                   org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

removeSystemProperty

public void removeSystemProperty(TInfo tinfo,
                                 TCredentials credentials,
                                 String property)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Specified by:
removeSystemProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_removeSystemProperty

public void send_removeSystemProperty(TInfo tinfo,
                                      TCredentials credentials,
                                      String property)
                               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_removeSystemProperty

public void recv_removeSystemProperty()
                               throws ThriftSecurityException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

getMasterStats

public MasterMonitorInfo getMasterStats(TInfo tinfo,
                                        TCredentials credentials)
                                 throws ThriftSecurityException,
                                        org.apache.thrift.TException
Specified by:
getMasterStats in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_getMasterStats

public void send_getMasterStats(TInfo tinfo,
                                TCredentials credentials)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getMasterStats

public MasterMonitorInfo recv_getMasterStats()
                                      throws ThriftSecurityException,
                                             org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

reportSplitExtent

public void reportSplitExtent(TInfo tinfo,
                              TCredentials credentials,
                              String serverName,
                              TabletSplit split)
                       throws org.apache.thrift.TException
Specified by:
reportSplitExtent in interface MasterClientService.Iface
Throws:
org.apache.thrift.TException

send_reportSplitExtent

public void send_reportSplitExtent(TInfo tinfo,
                                   TCredentials credentials,
                                   String serverName,
                                   TabletSplit split)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

reportTabletStatus

public void reportTabletStatus(TInfo tinfo,
                               TCredentials credentials,
                               String serverName,
                               TabletLoadState status,
                               TKeyExtent tablet)
                        throws org.apache.thrift.TException
Specified by:
reportTabletStatus in interface MasterClientService.Iface
Throws:
org.apache.thrift.TException

send_reportTabletStatus

public void send_reportTabletStatus(TInfo tinfo,
                                    TCredentials credentials,
                                    String serverName,
                                    TabletLoadState status,
                                    TKeyExtent tablet)
                             throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2015 Apache Accumulo Project. All rights reserved.