org.apache.accumulo.core.master.thrift
Interface MasterClientService.Iface

All Known Implementing Classes:
MasterClientService.Client
Enclosing class:
MasterClientService

public static interface MasterClientService.Iface


Method Summary
 long beginTableOperation(TInfo tinfo, TCredentials credentials)
           
 void executeTableOperation(TInfo tinfo, TCredentials credentials, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean)
           
 void finishTableOperation(TInfo tinfo, TCredentials credentials, long opid)
           
 MasterMonitorInfo getMasterStats(TInfo tinfo, TCredentials credentials)
           
 long initiateFlush(TInfo tinfo, TCredentials credentials, String tableName)
           
 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 setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state)
           
 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)
           
 String waitForTableOperation(TInfo tinfo, TCredentials credentials, long opid)
           
 

Method Detail

initiateFlush

long initiateFlush(TInfo tinfo,
                   TCredentials credentials,
                   String tableName)
                   throws ThriftSecurityException,
                          ThriftTableOperationException,
                          org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

waitForFlush

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

setTableProperty

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

removeTableProperty

void removeTableProperty(TInfo tinfo,
                         TCredentials credentials,
                         String tableName,
                         String property)
                         throws ThriftSecurityException,
                                ThriftTableOperationException,
                                org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

setMasterGoalState

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

shutdown

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

shutdownTabletServer

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

setSystemProperty

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

removeSystemProperty

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

getMasterStats

MasterMonitorInfo getMasterStats(TInfo tinfo,
                                 TCredentials credentials)
                                 throws ThriftSecurityException,
                                        org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

reportSplitExtent

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

reportTabletStatus

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

beginTableOperation

long beginTableOperation(TInfo tinfo,
                         TCredentials credentials)
                         throws ThriftSecurityException,
                                org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

executeTableOperation

void executeTableOperation(TInfo tinfo,
                           TCredentials credentials,
                           long opid,
                           TableOperation op,
                           List<ByteBuffer> arguments,
                           Map<String,String> options,
                           boolean autoClean)
                           throws ThriftSecurityException,
                                  ThriftTableOperationException,
                                  org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

waitForTableOperation

String waitForTableOperation(TInfo tinfo,
                             TCredentials credentials,
                             long opid)
                             throws ThriftSecurityException,
                                    ThriftTableOperationException,
                                    org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

finishTableOperation

void finishTableOperation(TInfo tinfo,
                          TCredentials credentials,
                          long opid)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.