public interface VirtualMachineCurrentState
Modifier and Type | Method and Description |
---|---|
java.util.Collection<org.apache.mesos.Protos.Offer> |
getAllCurrentOffers()
Get all offers for the VM that represent the available resources.
|
VirtualMachineLease |
getCurrAvailableResources()
Returns a VM lease object representing totals of resources from all available leases on this host for the
current scheduling run.
|
long |
getDisabledUntil()
Returns the time until which the given host remains disabled.
|
java.lang.String |
getHostname()
Get the name of the host on which the virtual machine is running.
|
java.util.Map<java.lang.String,PreferentialNamedConsumableResourceSet> |
getResourceSets()
Get a map of resource sets of the virtual machine.
|
java.util.Collection<TaskRequest> |
getRunningTasks()
Get a list of those tasks that had already been assigned to this host before the current scheduling run
started.
|
java.util.Collection<TaskAssignmentResult> |
getTasksCurrentlyAssigned()
Get list of task assignment results for this host so far in the current scheduling run.
|
java.lang.String getHostname()
java.util.Map<java.lang.String,PreferentialNamedConsumableResourceSet> getResourceSets()
VirtualMachineLease getCurrAvailableResources()
java.util.Collection<org.apache.mesos.Protos.Offer> getAllCurrentOffers()
java.util.Collection<TaskAssignmentResult> getTasksCurrentlyAssigned()
java.util.Collection<TaskRequest> getRunningTasks()
long getDisabledUntil()