Package com.alibaba.wasp.client

Examples of com.alibaba.wasp.client.FConnection


        if (!closeEntityGroup(entityGroupInfo)) {
          isCloseSuccess = false;
        }
      }

      FConnection connection = FConnectionManager.getConnection(conf);
      connection.clearEntityGroupCache(Bytes.toBytes(request.getTableName()));
      tableSchemaReader.removeSchema(request.getTableName());

      FServerAdminProtos.DisableTableResponse.Builder builder = FServerAdminProtos.DisableTableResponse.newBuilder();
      builder.setSuccess(isCloseSuccess);
      return builder.build();
View Full Code Here


   *      FServerAdminProtos.EnableTableRequest)
   */
  @Override
  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

Related Classes of com.alibaba.wasp.client.FConnection

Copyright © 2018 www.massapicom. 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.