public class HostsAddedEvent extends ClusterEvent
HostsAddedEvent
is fired when the hosts are added to a cluster.AmbariEvent.AmbariEventType
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
m_hostNames
The hosts' names.
|
m_clusterId
m_eventType
Constructor and Description |
---|
HostsAddedEvent(long clusterId,
Set<String> hostNames)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getHostNames()
Gets the hosts' names that the event belongs to.
|
getClusterId
getType, toString
Copyright © 2022 Apache Software Foundation. All rights reserved.