public final class ProcedureTestUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
| Modifier | Constructor and Description |
|---|---|
private |
ProcedureTestUtil() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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) |
private static final org.slf4j.Logger LOG
private ProcedureTestUtil()
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
IOExceptionpublic static void waitUntilProcedureWaitingTimeout(HBaseTestingUtility util, Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz, long timeout) throws IOException
IOExceptionpublic static void waitUntilProcedureTimeoutIncrease(HBaseTestingUtility util, Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz, int times) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.