Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public interface Abortable {
*/
void abort(String why, Throwable e);

default void abort(String why) {
abort(why, null);
}

/**
* Check if the server or client was aborted.
* @return true if the server or client was aborted, false otherwise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2636,13 +2636,6 @@ protected boolean setAbortRequested() {
return abortRequested.compareAndSet(false, true);
}

/**
* @see HRegionServer#abort(String, Throwable)
*/
public void abort(String reason) {
abort(reason, null);
}

@Override
public boolean isAborted() {
return abortRequested.get();
Expand Down