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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postClearCompactionQueues, postCreateReplicationEndPoint, postExecuteProcedures, postReplicateLogEntries, postRollWALWriterRequest, preClearCompactionQueues, preExecuteProcedures, preReplicateLogEntries, preRollWALWriterRequest, preStopRegionServer
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–2020 The Apache Software Foundation. All rights reserved.