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

    https://github.com/apache/spark/pull/10457#discussion_r48378279
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/receiver/ActorReceiver.scala
 ---
    @@ -69,13 +68,60 @@ object ActorSupervisorStrategy {
      *       should be same.
      */
     @DeveloperApi
    -trait ActorHelper extends Logging{
    +abstract class ActorReceiver extends Actor {
     
    -  self: Actor => // to ensure that this can be added to Actor classes only
    +  /** Store an iterator of received data as a data block into Spark's 
memory. */
    +  def store[T](iter: Iterator[T]) {
    --- End diff --
    
    I duplicated these `store` methods in `ActorReceiver` and 
`JavaActorReceiver` because I don't want to expose `ActorHelper` as a public 
API. Note: if we put `store` methods in `ActorHelper`, then it must be a public 
API so as to appear in the Scala/Java docs.


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to