Skip to content

Commit ee8bd00

Browse files
committed
Added internal API in docs comments.
1 parent ddb8cbe commit ee8bd00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/java/org/apache/spark/TaskContext.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ public void onTaskCompletion(TaskContext context) {
183183
}
184184

185185
/**
186+
* ::Internal API::
186187
* Marks the task as completed and triggers the listeners.
187188
*/
188189
public void markTaskCompleted() throws TaskCompletionListenerException {
@@ -207,6 +208,7 @@ public void markTaskCompleted() throws TaskCompletionListenerException {
207208
}
208209

209210
/**
211+
* ::Internal API::
210212
* Marks the task for interruption, i.e. cancellation.
211213
*/
212214
public void markInterrupted() {
@@ -229,6 +231,7 @@ public boolean runningLocally() {
229231
return runningLocally;
230232
}
231233

234+
/** ::Internal API:: */
232235
public TaskMetrics taskMetrics() {
233236
return taskMetrics;
234237
}

0 commit comments

Comments
 (0)