Package org.apache.spark.storage
Class ShuffleFetchCompletionListener
Object
org.apache.spark.storage.ShuffleFetchCompletionListener
- All Implemented Interfaces:
EventListener
,TaskCompletionListener
A listener to be called at the completion of the ShuffleBlockFetcherIterator
param: data the ShuffleBlockFetcherIterator to process
-
Constructor Summary
ConstructorDescriptionShuffleFetchCompletionListener
(org.apache.spark.storage.ShuffleBlockFetcherIterator data) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.storage.ShuffleBlockFetcherIterator
data()
void
onComplete
(TaskContext context) void
onTaskCompletion
(TaskContext context)
-
Constructor Details
-
ShuffleFetchCompletionListener
public ShuffleFetchCompletionListener(org.apache.spark.storage.ShuffleBlockFetcherIterator data)
-
-
Method Details
-
data
public org.apache.spark.storage.ShuffleBlockFetcherIterator data() -
onComplete
-
onTaskCompletion
- Specified by:
onTaskCompletion
in interfaceTaskCompletionListener
-