Interface MasterClientService.AsyncIface

    • Method Detail

      • initiateFlush

        void initiateFlush​(TInfo tinfo,
                           TCredentials credentials,
                           String tableName,
                           org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)
                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • waitForFlush

        void waitForFlush​(TInfo tinfo,
                          TCredentials credentials,
                          String tableName,
                          ByteBuffer startRow,
                          ByteBuffer endRow,
                          long flushID,
                          long maxLoops,
                          org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • setTableProperty

        void setTableProperty​(TInfo tinfo,
                              TCredentials credentials,
                              String tableName,
                              String property,
                              String value,
                              org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • removeTableProperty

        void removeTableProperty​(TInfo tinfo,
                                 TCredentials credentials,
                                 String tableName,
                                 String property,
                                 org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • setNamespaceProperty

        void setNamespaceProperty​(TInfo tinfo,
                                  TCredentials credentials,
                                  String ns,
                                  String property,
                                  String value,
                                  org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • removeNamespaceProperty

        void removeNamespaceProperty​(TInfo tinfo,
                                     TCredentials credentials,
                                     String ns,
                                     String property,
                                     org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • setMasterGoalState

        void setMasterGoalState​(TInfo tinfo,
                                TCredentials credentials,
                                MasterGoalState state,
                                org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • shutdown

        void shutdown​(TInfo tinfo,
                      TCredentials credentials,
                      boolean stopTabletServers,
                      org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • shutdownTabletServer

        void shutdownTabletServer​(TInfo tinfo,
                                  TCredentials credentials,
                                  String tabletServer,
                                  boolean force,
                                  org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • setSystemProperty

        void setSystemProperty​(TInfo tinfo,
                               TCredentials credentials,
                               String property,
                               String value,
                               org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • removeSystemProperty

        void removeSystemProperty​(TInfo tinfo,
                                  TCredentials credentials,
                                  String property,
                                  org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getMasterStats

        void getMasterStats​(TInfo tinfo,
                            TCredentials credentials,
                            org.apache.thrift.async.AsyncMethodCallback<MasterMonitorInfo> resultHandler)
                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • waitForBalance

        void waitForBalance​(TInfo tinfo,
                            org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • reportSplitExtent

        void reportSplitExtent​(TInfo tinfo,
                               TCredentials credentials,
                               String serverName,
                               TabletSplit split,
                               org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • reportTabletStatus

        void reportTabletStatus​(TInfo tinfo,
                                TCredentials credentials,
                                String serverName,
                                TabletLoadState status,
                                TKeyExtent tablet,
                                org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getActiveTservers

        void getActiveTservers​(TInfo tinfo,
                               TCredentials credentials,
                               org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler)
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • drainReplicationTable

        void drainReplicationTable​(TInfo tfino,
                                   TCredentials credentials,
                                   String tableName,
                                   Set<String> logsToWatch,
                                   org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException