io.gearpump.streaming.state.api

PersistentTask

Related Doc: package api

abstract class PersistentTask[T] extends Task

PersistentTask is part of the transaction API

Users should extend this task if they want to get transaction support from the framework

Linear Supertypes
Task, TaskInterface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PersistentTask
  2. Task
  3. TaskInterface
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PersistentTask(taskContext: TaskContext, conf: UserConfig)

Abstract Value Members

  1. abstract def persistentState: PersistentState[T]

    subclass should override this method to pass in a PersistentState

    subclass should override this method to pass in a PersistentState

    the framework has already offered two states

    • NonWindowState state with no time or other boundary
    • WindowState each state is bounded by a time window
  2. abstract def processMessage(state: PersistentState[T], message: Message): Unit

    subclass should override this method to specify how a new message should update state

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. val LOG: Logger

    Definition Classes
    Task
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val checkpointInterval: Long

  7. val checkpointManager: CheckpointManager

  8. val checkpointStore: CheckpointStore

  9. val checkpointStoreFactory: CheckpointStoreFactory

  10. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  20. final def onNext(message: Message): Unit

    Definition Classes
    PersistentTaskTaskTaskInterface
  21. final def onStart(startTime: StartTime): Unit

    startTime

    startTime that can be used to decide from when a source producer task should replay the data source, or from when a processor task should recover its checkpoint data in to in-memory state.

    Definition Classes
    PersistentTaskTaskTaskInterface
  22. final def onStop(): Unit

    This can be used to cleanup resource when the application finished.

    This can be used to cleanup resource when the application finished.

    Definition Classes
    PersistentTaskTaskTaskInterface
  23. def receiveUnManagedMessage: Receive

    handler for unmanaged message

    handler for unmanaged message

    returns

    Definition Classes
    TaskTaskInterface
  24. implicit val self: ActorRef

    Definition Classes
    Task
  25. def sender: ActorRef

    For managed message(type of Message), the sender mean nothing, you should not use this directory

    For managed message(type of Message), the sender mean nothing, you should not use this directory

    For unmanaged message, the sender represent the sender actor

    returns

    Attributes
    protected
    Definition Classes
    Task
  26. val state: PersistentState[T]

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. implicit val system: ActorSystem

    Attributes
    protected
    Definition Classes
    Task
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Task

Inherited from TaskInterface

Inherited from AnyRef

Inherited from Any

Ungrouped