Trait

com.nokia.mesos.impl.async

MesosFrameworkImpl

Related Doc: package async

Permalink

trait MesosFrameworkImpl extends MesosFramework with LazyLogging

Default implementation of MesosFramework

Linear Supertypes
LazyLogging, MesosFramework, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MesosFrameworkImpl
  2. LazyLogging
  3. MesosFramework
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def handle(offers: Seq[Offer]): Future[Unit]

    Permalink
    Attributes
    protected
  2. abstract def 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
  3. abstract def scheduling: Scheduling

    Permalink
    Attributes
    protected

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.

  9. def currentDriver(msg: String): MesosDriver

    Permalink
    Attributes
    protected
  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
  16. def finalize(): Unit

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

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

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

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

    Permalink

    Kills a previously launched task

    Kills a previously launched task

    Definition Classes
    MesosFrameworkImplMesosFramework
  21. val killTimeout: Duration

    Permalink

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

  22. 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

  23. val launchTimeout: Duration

    Permalink

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

  24. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  25. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. 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
  30. def toString(): String

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

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

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

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

Inherited from LazyLogging

Inherited from MesosFramework

Inherited from AnyRef

Inherited from Any

Ungrouped