diff --git hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java index e205381..dcd858e 100644 --- hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java +++ hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java @@ -23,12 +23,21 @@ import java.util.List; import org.apache.hadoop.hbase.CellScanner; import org.apache.hadoop.hbase.Coprocessor; +import org.apache.hadoop.hbase.HBaseInterfaceAudience; import org.apache.hadoop.hbase.MetaMutationAnnotation; +import org.apache.hadoop.hbase.classification.InterfaceAudience; +import org.apache.hadoop.hbase.classification.InterfaceStability; import org.apache.hadoop.hbase.client.Mutation; import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; import org.apache.hadoop.hbase.regionserver.Region; import org.apache.hadoop.hbase.replication.ReplicationEndpoint; +/** + * Defines coprocessor hooks for interacting with operations on the + * {@link org.apache.hadoop.hbase.regionserver.HRegionServer} process. + */ +@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) +@InterfaceStability.Evolving public interface RegionServerObserver extends Coprocessor { /** @@ -41,7 +50,7 @@ public interface RegionServerObserver extends Coprocessor { throws IOException; /** - * Called before the regions merge. + * Called before the regions merge. * Call {@link org.apache.hadoop.hbase.coprocessor.ObserverContext#bypass()} to skip the merge. * @throws IOException if an error occurred on the coprocessor * @param ctx @@ -69,7 +78,7 @@ public interface RegionServerObserver extends Coprocessor { * @param ctx * @param regionA * @param regionB - * @param metaEntries mutations to execute on hbase:meta atomically with regions merge updates. + * @param metaEntries mutations to execute on hbase:meta atomically with regions merge updates. * Any puts or deletes to execute on hbase:meta can be added to the mutations. * @throws IOException */