Examples of waitTableDisabled()


Examples of com.alibaba.wasp.client.WaspAdmin.waitTableDisabled()

    stat = conn.createStatement();
    stat.executeUpdate(createTableSql);

    admin.waitTableNotLocked("user123");
    admin.disableTable("user123");
    admin.waitTableDisabled("user123", 3000);
    stat.executeUpdate("create index test_index on " + "user123" + "(photo_id);");
    admin.waitTableNotLocked("user123");
    admin.enableTable("user123");
    admin.waitTableEnabled("user123", 3000);
    stat.execute("INSERT INTO user123 (user_id, photo_id) VALUES (1, 1)");
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.