private static class TestProcedureFuture.TestFuture extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
convertResultCalled |
private boolean |
getProcedureResultCalled |
private boolean |
postOperationResultCalled |
private boolean |
waitOperationResultCalled |
Constructor and Description |
---|
TestFuture(org.apache.hadoop.hbase.client.HBaseAdmin admin,
Long procId) |
Modifier and Type | Method and Description |
---|---|
protected Void |
convertResult(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetProcedureResultResponse response) |
protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetProcedureResultResponse |
getProcedureResult(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetProcedureResultRequest request) |
protected Void |
postOperationResult(Void result,
long deadlineTs) |
protected Void |
waitOperationResult(long deadlineTs) |
boolean |
wasConvertResultCalled() |
boolean |
wasGetProcedureResultCalled() |
boolean |
wasPostOperationResultCalled() |
boolean |
wasWaitOperationResultCalled() |
private boolean postOperationResultCalled
private boolean waitOperationResultCalled
private boolean getProcedureResultCalled
private boolean convertResultCalled
public TestFuture(org.apache.hadoop.hbase.client.HBaseAdmin admin, Long procId)
public boolean wasPostOperationResultCalled()
public boolean wasWaitOperationResultCalled()
public boolean wasGetProcedureResultCalled()
public boolean wasConvertResultCalled()
protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetProcedureResultResponse getProcedureResult(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetProcedureResultRequest request) throws IOException
IOException
protected Void convertResult(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetProcedureResultResponse response) throws IOException
IOException
protected Void waitOperationResult(long deadlineTs) throws IOException, TimeoutException
IOException
TimeoutException
protected Void postOperationResult(Void result, long deadlineTs) throws IOException, TimeoutException
IOException
TimeoutException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.