HBASE-18884 (addendum) Add more javadoc comment. Coprocessor Design Improvements follow up of HBASE-17732.

Change-Id: Id1a9e508cc04612b1e79e6cfa7e39b7755598be3
This commit is contained in:
Apekshit Sharma 2017-09-29 17:24:10 -07:00
parent c835dcc7e7
commit cacf3f5835
1 changed files with 3 additions and 1 deletions

View File

@ -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<Service> getServices() {
return Collections.EMPTY_SET;