Repository: hbase Updated Branches: refs/heads/master 2452d3861 -> c348cd327
HBASE-12788 Promote Abortable to LimitedPrivate Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c348cd32 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c348cd32 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c348cd32 Branch: refs/heads/master Commit: c348cd327b9ae3635dc9d9360e2c7088976199c0 Parents: 2452d38 Author: Enis Soztutar <[email protected]> Authored: Mon Jan 5 16:29:03 2015 -0800 Committer: Enis Soztutar <[email protected]> Committed: Mon Jan 5 16:29:27 2015 -0800 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hbase/Abortable.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/c348cd32/hbase-client/src/main/java/org/apache/hadoop/hbase/Abortable.java ---------------------------------------------------------------------- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/Abortable.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/Abortable.java index d29a260..72f41a7 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/Abortable.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/Abortable.java @@ -19,6 +19,7 @@ package org.apache.hadoop.hbase; import org.apache.hadoop.hbase.classification.InterfaceAudience; +import org.apache.hadoop.hbase.classification.InterfaceStability; /** * Interface to support the aborting of a given server or client. @@ -28,7 +29,8 @@ import org.apache.hadoop.hbase.classification.InterfaceAudience; * <p> * Implemented by the Master, RegionServer, and TableServers (client). */ [email protected] [email protected]({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX}) [email protected] public interface Abortable { /** * Abort the server or client. @@ -36,9 +38,9 @@ public interface Abortable { * @param e Throwable that caused abort. Can be null. */ void abort(String why, Throwable e); - + /** - * Check if the server or client was aborted. + * Check if the server or client was aborted. * @return true if the server or client was aborted, false otherwise */ boolean isAborted();
