fixed compile errors due upstream change

Original commit: elastic/x-pack-elasticsearch@0a9d73d2be
This commit is contained in:
Martijn van Groningen 2017-01-19 20:42:44 +01:00
parent 3fa87c0994
commit f20f56e2e1
2 changed files with 9 additions and 0 deletions

View File

@ -83,6 +83,11 @@ public class InternalStartDatafeedAction extends
this.holder = holder;
}
@Override
public boolean shouldCancelChildrenOnCancellation() {
return true;
}
@Override
protected void onCancelled() {
stop();

View File

@ -138,6 +138,10 @@ public class PostDataAction extends Action<PostDataAction.Request, PostDataActio
super(id, type, action, jobId + "_post_data", parentTaskId);
}
@Override
public boolean shouldCancelChildrenOnCancellation() {
return true;
}
}
public static class Request extends ActionRequest {