@Controller @SendToUser(value="/") @MessageMapping(value="/agents") public class AgentCurrentDataController extends Object
Constructor and Description |
---|
AgentCurrentDataController(com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
AlertDefinitionsAgentUpdateEvent |
getAlertDefinitions(String simpSessionId,
Hash hash) |
AgentConfigsUpdateEvent |
getCurrentConfigs(String simpSessionId,
Hash hash) |
HostLevelParamsUpdateEvent |
getCurrentHostLevelParams(String simpSessionId,
Hash hash) |
MetadataUpdateEvent |
getCurrentMetadata(Hash hash) |
TopologyUpdateEvent |
getCurrentTopology(Hash hash) |
public AgentCurrentDataController(com.google.inject.Injector injector)
@MessageMapping(value="/topologies") public TopologyUpdateEvent getCurrentTopology(Hash hash) throws org.apache.ambari.server.AmbariException, InvalidStateTransitionException
org.apache.ambari.server.AmbariException
InvalidStateTransitionException
@MessageMapping(value="/metadata") public MetadataUpdateEvent getCurrentMetadata(Hash hash) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
@MessageMapping(value="/alert_definitions") public AlertDefinitionsAgentUpdateEvent getAlertDefinitions(@Header String simpSessionId, Hash hash) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
@MessageMapping(value="/configs") public AgentConfigsUpdateEvent getCurrentConfigs(@Header String simpSessionId, Hash hash) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
@MessageMapping(value="/host_level_params") public HostLevelParamsUpdateEvent getCurrentHostLevelParams(@Header String simpSessionId, Hash hash) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
Copyright © 2022 Apache Software Foundation. All rights reserved.