Repository: hbase Updated Branches: refs/heads/branch-1 8574934f5 -> 753169a3a refs/heads/master edbf2bb8d -> b23890157
HBASE-17105 Annotate RegionServerObserver Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b2389015 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b2389015 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b2389015 Branch: refs/heads/master Commit: b23890157c10bf2db347bf5396806295e4532825 Parents: edbf2bb Author: Enis Soztutar <e...@apache.org> Authored: Wed Feb 8 13:35:22 2017 -0800 Committer: Enis Soztutar <e...@apache.org> Committed: Wed Feb 8 13:35:22 2017 -0800 ---------------------------------------------------------------------- .../hadoop/hbase/coprocessor/RegionServerObserver.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/b2389015/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java index 77d9d57..dcd858e 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java +++ b/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 { /** @@ -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 */