Package | Description |
---|---|
org.apache.ambari.server.controller.internal | |
org.apache.ambari.server.topology |
Modifier and Type | Field and Description |
---|---|
static CalculatedStatus |
CalculatedStatus.ABORTED
A status which represents an ABORTED state at -1%
|
static CalculatedStatus |
CalculatedStatus.COMPLETED
A status which represents a COMPLETED state at 100%
|
static CalculatedStatus |
CalculatedStatus.PENDING
A status which represents a PENDING state at 0%
|
Modifier and Type | Method and Description |
---|---|
static CalculatedStatus |
CalculatedStatus.statusFromRequest(HostRoleCommandDAO s_hostRoleCommandDAO,
TopologyManager topologyManager,
Long requestId)
Calculates the status for specified request by id.
|
static CalculatedStatus |
CalculatedStatus.statusFromStageEntities(Collection<StageEntity> stages)
Factory method to create a calculated status.
|
static CalculatedStatus |
CalculatedStatus.statusFromStages(Collection<Stage> stages)
Factory method to create a calculated status.
|
static CalculatedStatus |
CalculatedStatus.statusFromStageSummary(Map<Long,HostRoleCommandStatusSummaryDTO> stageDto,
Set<Long> stageIds)
Calculates the overall status of an upgrade.
|
static CalculatedStatus |
CalculatedStatus.statusFromTaskEntities(Collection<HostRoleCommandEntity> tasks,
boolean skippable)
Factory method to create a calculated status.
|
Modifier and Type | Method and Description |
---|---|
CalculatedStatus |
LogicalRequest.calculateStatus() |
Copyright © 2022 Apache Software Foundation. All rights reserved.