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
ConstructorsConstructorDescriptionShuffleFetchCompletionListener(org.apache.spark.storage.ShuffleBlockFetcherIterator data) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.storage.ShuffleBlockFetcherIteratordata()voidonComplete(TaskContext context) voidonTaskCompletion(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:
onTaskCompletionin interfaceTaskCompletionListener
-