Trait/Object

com.nokia.mesos.api.async

MesosFramework

Related Docs: object MesosFramework | package async

Permalink

trait MesosFramework extends AnyRef

Higher level API for Mesos: connect/disconnect and launching tasks.

See also

TaskLauncher for the automatic handling of offers, and automatic task launching.

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

Abstract Value Members

  1. abstract def abort(): Future[Status]

    Permalink

    Aborts the driver

  2. abstract 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

  3. abstract def currentDriver(): MesosDriver

    Permalink

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

  4. abstract def decline(offerId: OfferID): Unit

    Permalink

    Decline a previously received offer

  5. abstract 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)

    See also

    terminate

  6. abstract def kill(taskId: TaskID): Future[TaskID]

    Permalink

    Kills a previously launched task

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

    See also

    TaskLauncher.submitTasks for automatic offer selection for tasks

  8. abstract def terminate(): Future[Status]

    Permalink

    Closes the connection to Mesos, with no possibility of reopening

    Closes the connection to Mesos, with no possibility of reopening

    See also

    disconnect

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. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped