Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1195#discussion_r15503609
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/receiver/BlockGenerator.scala
 ---
    @@ -85,14 +91,36 @@ private[streaming] class BlockGenerator(
         currentBuffer += data
       }
     
    +  /**
    +   * Store the data asynchronously and call callback(arg),
    +   * when the data has been successfully stored
    +   *
    +   * @param data - The data to be stored
    +   * @param callback - The function to call when the data is stored
    +   *
    +   */
    +  def store(data: Any, callback: () => Unit): Unit = synchronized {
    --- End diff --
    
    This is not necessary any more, according to our past discussion.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to