public class RequestUpdateEvent extends STOMPEvent
Modifier and Type | Class and Description |
---|---|
static class |
RequestUpdateEvent.HostRoleCommand |
STOMPEvent.Type
type
Constructor and Description |
---|
RequestUpdateEvent(Long requestId,
HostRoleStatus requestStatus,
Set<RequestUpdateEvent.HostRoleCommand> hostRoleCommands) |
RequestUpdateEvent(RequestEntity requestEntity,
HostRoleCommandDAO hostRoleCommandDAO,
TopologyManager topologyManager,
String clusterName,
List<HostRoleCommandEntity> hostRoleCommandEntities) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClusterName() |
Long |
getEndTime() |
Set<RequestUpdateEvent.HostRoleCommand> |
getHostRoleCommands() |
Double |
getProgressPercent() |
String |
getRequestContext() |
Long |
getRequestId() |
HostRoleStatus |
getRequestStatus() |
Long |
getStartTime() |
String |
getUserName() |
int |
hashCode() |
void |
setClusterName(String clusterName) |
void |
setEndTime(Long endTime) |
void |
setHostRoleCommands(Set<RequestUpdateEvent.HostRoleCommand> hostRoleCommands) |
void |
setProgressPercent(Double progressPercent) |
void |
setRequestContext(String requestContext) |
void |
setRequestId(Long requestId) |
void |
setRequestStatus(HostRoleStatus requestStatus) |
void |
setStartTime(Long startTime) |
void |
setUserName(String userName) |
completeDestination, getMetricName, getType
public RequestUpdateEvent(RequestEntity requestEntity, HostRoleCommandDAO hostRoleCommandDAO, TopologyManager topologyManager, String clusterName, List<HostRoleCommandEntity> hostRoleCommandEntities)
public RequestUpdateEvent(Long requestId, HostRoleStatus requestStatus, Set<RequestUpdateEvent.HostRoleCommand> hostRoleCommands)
public Long getRequestId()
public void setRequestId(Long requestId)
public String getClusterName()
public void setClusterName(String clusterName)
public String getRequestContext()
public void setRequestContext(String requestContext)
public Long getEndTime()
public void setEndTime(Long endTime)
public Double getProgressPercent()
public void setProgressPercent(Double progressPercent)
public HostRoleStatus getRequestStatus()
public void setRequestStatus(HostRoleStatus requestStatus)
public Long getStartTime()
public void setStartTime(Long startTime)
public String getUserName()
public void setUserName(String userName)
public Set<RequestUpdateEvent.HostRoleCommand> getHostRoleCommands()
public void setHostRoleCommands(Set<RequestUpdateEvent.HostRoleCommand> hostRoleCommands)
Copyright © 2022 Apache Software Foundation. All rights reserved.