com.mesosphere.cosmos.storage.installqueue
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.
the package coordinate on which the operation should be performed.
The operation to be performed
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.
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.
The package coordinate of the package on which an operation failed
The error that occurred while processing the operation
a future that will complete when state changes has been completed
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.
the next pending operation
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.
The package coordinate of the package whose operation has succeeded.
a future that will complete when state changes have been completed
Shows the status of every package in the install queue.
Shows the status of every package in the install queue.
A map from package coordinate to the state of any pending or failed operations associated with that package coordinate