From cacf3f58356df41fe15e8375f9b633d3db16f8c6 Mon Sep 17 00:00:00 2001 From: Apekshit Sharma Date: Fri, 29 Sep 2017 17:24:10 -0700 Subject: [PATCH] HBASE-18884 (addendum) Add more javadoc comment. Coprocessor Design Improvements follow up of HBASE-17732. Change-Id: Id1a9e508cc04612b1e79e6cfa7e39b7755598be3 --- .../src/main/java/org/apache/hadoop/hbase/Coprocessor.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/Coprocessor.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/Coprocessor.java index 422e06461ee..c0d9b603a8a 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/Coprocessor.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/Coprocessor.java @@ -96,7 +96,9 @@ public interface Coprocessor { default void stop(CoprocessorEnvironment env) throws IOException {} /** - * Coprocessor endpoints providing protobuf services should implement this interface. + * Coprocessor endpoints providing protobuf services should override this method. + * @return Iterable of {@link Service}s or empty collection. Implementations should never + * return null. */ default Iterable getServices() { return Collections.EMPTY_SET;