Class/Object

com.mesosphere.cosmos.storage.installqueue

InstallQueue

Related Docs: object InstallQueue | package installqueue

Permalink

final class InstallQueue extends ProcessorView with ProducerView with ReaderView with AutoCloseable

Linear Supertypes
AutoCloseable, ReaderView, ProducerView, ProcessorView, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InstallQueue
  2. AutoCloseable
  3. ReaderView
  4. ProducerView
  5. ProcessorView
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 add(packageCoordinate: PackageCoordinate, operation: Operation): Future[Unit]

    Permalink

    Adds an operation on a package to the install queue.

    Adds an operation on a package to the install queue.

    Fails the resulting future with an exception when there is already an operation outstanding on the package coordinate.

    packageCoordinate

    the package coordinate on which the operation should be performed.

    operation

    The operation to be performed

    returns

    a successful future if the operation was added to the queue, else a failed future of com.mesosphere.cosmos.OperationInProgress if the operation was not added.

    Definition Classes
    InstallQueueProducerView
  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 close(): Unit

    Permalink
    Definition Classes
    InstallQueue → AutoCloseable
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def failure(packageCoordinate: PackageCoordinate, error: ErrorResponse): Future[Unit]

    Permalink

    Signals to the install queue that the operation on the package failed.

    Signals to the install queue that the operation on the package failed. This will "move" the package to the error pile.

    packageCoordinate

    The package coordinate of the package on which an operation failed

    error

    The error that occurred while processing the operation

    returns

    a future that will complete when state changes has been completed

    Definition Classes
    InstallQueueProcessorView
  11. def finalize(): Unit

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def next(): Future[Option[PendingOperation]]

    Permalink

    Returns the next operation in the queue.

    Returns the next operation in the queue. Operations created earlier will be at the front of the queue.

    returns

    the next pending operation

    Definition Classes
    InstallQueueProcessorView
  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  19. def start(): Unit

    Permalink
  20. def success(packageCoordinate: PackageCoordinate): Future[Unit]

    Permalink

    Signals to the install queue that the operation on the package has been successful.

    Signals to the install queue that the operation on the package has been successful. This will delete the node from the install queue.

    packageCoordinate

    The package coordinate of the package whose operation has succeeded.

    returns

    a future that will complete when state changes have been completed

    Definition Classes
    InstallQueueProcessorView
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def viewStatus(): Future[Map[PackageCoordinate, OperationStatus]]

    Permalink

    Shows the status of every package in the install queue.

    Shows the status of every package in the install queue.

    returns

    A map from package coordinate to the state of any pending or failed operations associated with that package coordinate

    Definition Classes
    InstallQueueReaderView
  24. final def wait(): Unit

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

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

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

Inherited from AutoCloseable

Inherited from ReaderView

Inherited from ProducerView

Inherited from ProcessorView

Inherited from AnyRef

Inherited from Any

Ungrouped