Class

com.nokia.mesos.impl.launcher

AbstractFrameworkImpl

Related Doc: package launcher

Permalink

abstract class AbstractFrameworkImpl extends MesosFrameworkImpl with TaskLauncherImpl

Default implementation of MesosFramework and TaskLauncher together

Subclasses must provide the Scheduling to be used for launching tasks.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractFrameworkImpl
  2. TaskLauncherImpl
  3. TaskLauncher
  4. MesosFrameworkImpl
  5. LazyLogging
  6. MesosFramework
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractFrameworkImpl(mkDriver: () ⇒ MesosDriver)

    Permalink

Abstract Value Members

  1. abstract def scheduling: Scheduling

    Permalink
    Definition Classes
    TaskLauncherImpl

Concrete 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. def abort(): Future[Status]

    Permalink

    Aborts the driver

    Aborts the driver

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def connect(): Future[(FrameworkID, MasterInfo, MesosDriver)]

    Permalink

    Opens the connection to Mesos using the FW and master info known by the driver.

    Opens the connection to Mesos using the FW and master info known by the driver.

    returns

    Future that completes once Mesos registered

    Definition Classes
    MesosFrameworkImplMesosFramework
  8. val connectTimeout: Duration

    Permalink

    If no connection related event arrives for this duration, the connection attempt will be considered unsuccessful.

    If no connection related event arrives for this duration, the connection attempt will be considered unsuccessful.

    Definition Classes
    MesosFrameworkImpl
  9. def currentDriver(msg: String): MesosDriver

    Permalink
    Attributes
    protected
    Definition Classes
    MesosFrameworkImpl
  10. def currentDriver(): MesosDriver

    Permalink

    The currently connected driver instance (throws exception if not connected).

    The currently connected driver instance (throws exception if not connected).

    Definition Classes
    MesosFrameworkImplMesosFramework
  11. def decline(offerId: OfferID): Unit

    Permalink

    Decline a previously received offer

    Decline a previously received offer

    Definition Classes
    MesosFrameworkImplMesosFramework
  12. def disconnect(): Future[Status]

    Permalink

    Closes the connection to Mesos (with the possibility of reopening it later)

    Closes the connection to Mesos (with the possibility of reopening it later)

    Definition Classes
    MesosFrameworkImplMesosFramework
    See also

    terminate

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def executor: ExecutionContext

    Permalink
    Attributes
    protected
    Definition Classes
    MesosFrameworkImpl
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. val fw: MesosFramework

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractFrameworkImplTaskLauncherImpl
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def handle(offers: Seq[Offer]): Future[Unit]

    Permalink

    Handles the offers as they arrive

    Handles the offers as they arrive

    Attributes
    protected
    Definition Classes
    TaskLauncherImpl
  20. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  22. def kill(taskId: TaskID): Future[TaskID]

    Permalink

    Kills a previously launched task

    Kills a previously launched task

    Definition Classes
    MesosFrameworkImplMesosFramework
  23. val killTimeout: Duration

    Permalink

    If no task kill related event arrives for this duration, the kill attempt will be considered unsuccessful.

    If no task kill related event arrives for this duration, the kill attempt will be considered unsuccessful.

    Definition Classes
    MesosFrameworkImpl
  24. def launch(offerIds: Iterable[OfferID], tasks: Iterable[TaskInfo]): Iterable[Future[TaskInfo]]

    Permalink

    Tries to launch the specified tasks by using the selected offerIds

    Tries to launch the specified tasks by using the selected offerIds

    returns

    Futures which are completed successfully if and when the tasks were launched successfully

    Definition Classes
    MesosFrameworkImplMesosFramework
    See also

    TaskLauncher.submitTasks for automatic offer selection for tasks

  25. val launchTimeout: Duration

    Permalink

    If no task launch related event arrives for this duration, the launch attempt will be considered unsuccessful.

    If no task launch related event arrives for this duration, the launch attempt will be considered unsuccessful.

    Definition Classes
    MesosFrameworkImpl
  26. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  27. val mkDriver: () ⇒ MesosDriver

    Permalink

    We depend on a driver, which actually communicates with Mesos

    We depend on a driver, which actually communicates with Mesos

    Attributes
    protected
    Definition Classes
    AbstractFrameworkImplMesosFrameworkImpl
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def submitTask(task: TaskDescriptor, filter: Filter): LaunchedTask

    Permalink

    Definition Classes
    TaskLauncher
    See also

    submitTasks

  32. def submitTask(task: TaskDescriptor): LaunchedTask

    Permalink

    Definition Classes
    TaskLauncher
    See also

    submitTasks

  33. def submitTasks(tasks: Seq[TaskDescriptor], filter: Option[Filter]): Seq[LaunchedTask]

    Permalink

    Submits the specified tasks; the framework will try to automatically allocate incoming offers to launch these tasks.

    Submits the specified tasks; the framework will try to automatically allocate incoming offers to launch these tasks.

    tasks

    The tasks to launch

    filter

    Optionally a filter, which can reject allocations (e.g., to implement affinity rules)

    Definition Classes
    TaskLauncherImplTaskLauncher
  34. def submitTasks(tasks: Seq[TaskDescriptor], filter: Filter): Seq[LaunchedTask]

    Permalink

    Convenience overload, to submit with a filter

    Convenience overload, to submit with a filter

    Definition Classes
    TaskLauncher
  35. def submitTasks(tasks: Seq[TaskDescriptor]): Seq[LaunchedTask]

    Permalink

    Convenience overload, to submit without a filter

    Convenience overload, to submit without a filter

    Definition Classes
    TaskLauncher
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def terminate(): Future[Status]

    Permalink

    This method signifies that it is expected that this framework will never reconnect to Mesos.

    This method signifies that it is expected that this framework will never reconnect to Mesos. So Mesos will unregister the framework and shutdown all its tasks and executors

    Definition Classes
    MesosFrameworkImplMesosFramework
  38. def toString(): String

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

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

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

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

Inherited from TaskLauncherImpl

Inherited from TaskLauncher

Inherited from MesosFrameworkImpl

Inherited from LazyLogging

Inherited from MesosFramework

Inherited from AnyRef

Inherited from Any

Ungrouped