io.gearpump.streaming.appmaster

TaskRegistry

Related Docs: object TaskRegistry | package appmaster

class TaskRegistry extends AnyRef

TaskRegistry is used to track the registration of all tasks when one application is booting up.

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

Instance Constructors

  1. new TaskRegistry(expectedTasks: List[TaskId], registeredTasks: Map[TaskId, TaskLocation] = Map.empty[TaskId, TaskLocation], deadTasks: Set[TaskId] = Set.empty[TaskId])

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. def copy(expectedTasks: List[TaskId] = this.expectedTasks, registeredTasks: Map[TaskId, TaskLocation] = this.registeredTasks, deadTasks: Set[TaskId] = this.deadTasks): TaskRegistry

  7. var deadTasks: Set[TaskId]

  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def executors: List[ExecutorId]

  11. val expectedTasks: List[TaskId]

  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. def getExecutorId(taskId: TaskId): Option[Int]

  15. def getTaskExecutorMap: Map[TaskId, ExecutorId]

  16. def getTaskLocations: TaskLocations

  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def isAllTasksRegistered: Boolean

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def isTaskRegisteredForExecutor(executorId: ExecutorId): Boolean

  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def processorExecutors(processorId: ProcessorId): Map[ExecutorId, List[TaskId]]

  25. def registerTask(taskId: TaskId, location: TaskLocation): RegisterTaskStatus

    When a task is booted, it need to call registerTask to register itself.

    When a task is booted, it need to call registerTask to register itself. If this task is valid, then accept it, otherwise reject it.

  26. var registeredTasks: Map[TaskId, TaskLocation]

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def usedResource: ExecutorResourceUsageSummary

  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 AnyRef

Inherited from Any

Ungrouped