Package org.apache.hadoop.hbase
Class ProcedureTestUtil
java.lang.Object
org.apache.hadoop.hbase.ProcedureTestUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static Optional<org.apache.hbase.thirdparty.com.google.gson.JsonObject>
getProcedure
(HBaseTestingUtility util, Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz, org.apache.hbase.thirdparty.com.google.gson.JsonParser parser) static void
waitUntilProcedureTimeoutIncrease
(HBaseTestingUtility util, Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz, int times) static void
waitUntilProcedureWaitingTimeout
(HBaseTestingUtility util, Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz, long timeout)
-
Field Details
-
LOG
-
-
Constructor Details
-
ProcedureTestUtil
private ProcedureTestUtil()
-
-
Method Details
-
getProcedure
private static Optional<org.apache.hbase.thirdparty.com.google.gson.JsonObject> getProcedure(HBaseTestingUtility util, Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz, org.apache.hbase.thirdparty.com.google.gson.JsonParser parser) throws IOException - Throws:
IOException
-
waitUntilProcedureWaitingTimeout
public static void waitUntilProcedureWaitingTimeout(HBaseTestingUtility util, Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz, long timeout) throws IOException - Throws:
IOException
-
waitUntilProcedureTimeoutIncrease
public static void waitUntilProcedureTimeoutIncrease(HBaseTestingUtility util, Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz, int times) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-