Package | Description |
---|---|
org.apache.ambari.server.actionmanager | |
org.apache.ambari.server.orm.dao | |
org.apache.ambari.server.orm.entities |
Modifier and Type | Method and Description |
---|---|
HostRoleStatus |
Stage.getHostRoleStatus(String hostname,
String role) |
HostRoleStatus |
HostRoleCommand.getStatus() |
HostRoleStatus |
Request.getStatus() |
static HostRoleStatus |
HostRoleStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostRoleStatus[] |
HostRoleStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static List<HostRoleStatus> |
HostRoleStatus.getCompletedStates() |
static List<HostRoleStatus> |
HostRoleStatus.getFailedStates() |
Modifier and Type | Method and Description |
---|---|
void |
Stage.setHostRoleStatus(String host,
String role,
HostRoleStatus status) |
void |
HostRoleCommand.setStatus(HostRoleStatus status) |
void |
Request.setStatus(HostRoleStatus status) |
Modifier and Type | Method and Description |
---|---|
boolean |
Stage.doesStageHaveHostRoleStatus(Set<HostRoleStatus> statuses) |
List<Stage> |
ActionManager.getRequestsByHostRoleStatus(Set<HostRoleStatus> statuses) |
List<Stage> |
ActionDBAccessor.getStagesByHostRoleStatus(Set<HostRoleStatus> statuses)
Get all stages that contain tasks with specified host role statuses
|
List<Stage> |
ActionDBAccessorImpl.getStagesByHostRoleStatus(Set<HostRoleStatus> statuses) |
Modifier and Type | Method and Description |
---|---|
int |
HostRoleCommandDAO.updateStatusByRequestId(long requestId,
HostRoleStatus target,
Collection<HostRoleStatus> sources) |
Modifier and Type | Method and Description |
---|---|
List<StageEntity> |
StageDAO.findByCommandStatuses(Collection<HostRoleStatus> statuses) |
List<Long> |
HostRoleCommandDAO.getRequestsByTaskStatus(Collection<HostRoleStatus> statuses,
boolean match,
boolean checkAllTasks) |
int |
HostRoleCommandDAO.updateStatusByRequestId(long requestId,
HostRoleStatus target,
Collection<HostRoleStatus> sources) |
Modifier and Type | Method and Description |
---|---|
HostRoleStatus |
RequestEntity.getStatus() |
HostRoleStatus |
HostRoleCommandEntity.getStatus() |
Modifier and Type | Method and Description |
---|---|
void |
RequestEntity.setStatus(HostRoleStatus status) |
void |
HostRoleCommandEntity.setStatus(HostRoleStatus status) |
Copyright © 2016. All rights reserved.