public static class TestNamespaceAuditor.CPRegionServerObserver extends Object implements org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessor, org.apache.hadoop.hbase.coprocessor.RegionServerObserver
Modifier and Type | Field and Description |
---|---|
private boolean |
shouldFailMerge |
private boolean |
triggered |
Constructor and Description |
---|
CPRegionServerObserver() |
Modifier and Type | Method and Description |
---|---|
void |
failMerge(boolean fail) |
Optional<org.apache.hadoop.hbase.coprocessor.RegionServerObserver> |
getRegionServerObserver() |
void |
waitUtilTriggered() |
private volatile boolean shouldFailMerge
private boolean triggered
public CPRegionServerObserver()
public void failMerge(boolean fail)
public void waitUtilTriggered() throws InterruptedException
InterruptedException
public Optional<org.apache.hadoop.hbase.coprocessor.RegionServerObserver> getRegionServerObserver()
getRegionServerObserver
in interface org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessor
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.