Class/Object

org.apache.gearpump.streaming.appmaster

TaskRegistry

Related Docs: object TaskRegistry | package appmaster

Permalink

class TaskRegistry extends AnyRef

Tracks the registration of all tasks, when the 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
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])

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    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

    Permalink
  7. var deadTasks: Set[TaskId]

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

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

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

    Permalink

    Gets list of allocated executor Ids

  11. val expectedTasks: List[TaskId]

    Permalink
  12. def finalize(): Unit

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

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

    Permalink

    Query the executor Id where the task is running on

  15. def getTaskExecutorMap: Map[TaskId, ExecutorId]

    Permalink
  16. def getTaskLocations: TaskLocations

    Permalink
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def isAllTasksRegistered: Boolean

    Permalink
  19. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

    Permalink

    List of executors that current processor taks are running on

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

    Permalink

    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.

    taskId

    Task that register itself to TaskRegistry.

    location

    The host and port where this task is running on. NOTE: The host and port is NOT the same host and port of Akka remoting. Instead, it is host and port of custom netty layer, see org.apache.gearpump.transport.netty.Context.

  26. var registeredTasks: Map[TaskId, TaskLocation]

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def usedResource: ExecutorResourceUsageSummary

    Permalink

    Summary about how many resources are used for all running tasks

  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped