Package com.alibaba.wasp.client

Examples of com.alibaba.wasp.client.FConnection.relocateEntityGroupsInCache()


  public FServerAdminProtos.EnableTableResponse enableServerTable(RpcController controller,
      FServerAdminProtos.EnableTableRequest request) throws ServiceException {
    FConnection connection;
    try {
      connection = FConnectionManager.getConnection(conf);
      connection.relocateEntityGroupsInCache(FMetaReader.getRootTable(conf,
          request.getTableName()));
      tableSchemaReader.refreshSchema(request.getTableName());
      FServerAdminProtos.EnableTableResponse.Builder buider = FServerAdminProtos.EnableTableResponse.newBuilder();
      buider.setSuccess(true);
      return buider.build();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.