io.gearpump.streaming.task

TaskContext

Related Doc: package task

trait TaskContext extends AnyRef

This provides context information for a task.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TaskContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def actorOf(props: Props, name: String): ActorRef

    See also

    ActorRefProvider.actorOf

  2. abstract def actorOf(props: Props): ActorRef

    See also

    ActorRefProvider.actorOf

  3. abstract def appId: Int

  4. abstract def appMaster: ActorRef

    The actorRef of AppMaster

    The actorRef of AppMaster

    returns

  5. abstract def appName: String

  6. abstract def executorId: Int

  7. abstract def output(msg: Message): Unit

    This can be used to output messages to downstream tasks.

    This can be used to output messages to downstream tasks.

    The data shuffling rule can be decided by Partitioner.

    msg

  8. abstract def parallelism: Int

    The task parallelism

    The task parallelism

    For example, we can create 3 source tasks, and 3 sink tasks, the task parallelism is 3 for each.

    This can be useful when reading from partitioned data source. For example, for kafka, there may be 10 partitions, if we have parallelism of 2 for this task, then each task will be responsible to read data from 5 partitions.

    returns

  9. abstract def schedule(initialDelay: FiniteDuration, interval: FiniteDuration)(f: ⇒ Unit): Cancellable

    See also

    ActorRefProducer.schedule

  10. abstract def scheduleOnce(initialDelay: FiniteDuration)(f: ⇒ Unit): Cancellable

    ActorRefProvider.scheduleOnce

    ActorRefProvider.scheduleOnce

    initialDelay
    f
    returns

  11. abstract def self: ActorRef

    Please don't use this if possible.

    Please don't use this if possible.

    returns

  12. abstract def sender: ActorRef

    For managed message(type of Message), the sender only serve as a unique Id, It's address is not something meaningful, you should not use this directly

    For managed message(type of Message), the sender only serve as a unique Id, It's address is not something meaningful, you should not use this directly

    For unmanaged message, the sender represent the sender ActorRef

    returns

  13. abstract def system: ActorSystem

    Please don't use this if possible

    Please don't use this if possible

    returns

  14. abstract def taskId: TaskId

  15. abstract def upstreamMinClock: TimeStamp

    retrieve upstream min clock from TaskActor

    retrieve upstream min clock from TaskActor

    returns

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  16. def toString(): String

    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped