public class HostComponentVersionAdvertisedEvent extends ClusterEvent
HostComponentVersionAdvertisedEvent
occurs when a Host Component advertises it's current version value.AmbariEvent.AmbariEventType
Modifier and Type | Field and Description |
---|---|
protected Cluster |
cluster |
protected Long |
repoVersionId |
protected ServiceComponentHost |
sch |
protected String |
version |
m_clusterId
m_eventType
Constructor and Description |
---|
HostComponentVersionAdvertisedEvent(Cluster cluster,
ServiceComponentHost sch,
String version)
Constructor.
|
HostComponentVersionAdvertisedEvent(Cluster cluster,
ServiceComponentHost sch,
String version,
Long repoVersionId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Cluster |
getCluster() |
Long |
getRepositoryVersionId() |
ServiceComponentHost |
getServiceComponentHost() |
String |
getVersion() |
String |
toString() |
getClusterId
getType
protected Cluster cluster
protected ServiceComponentHost sch
protected String version
protected Long repoVersionId
public HostComponentVersionAdvertisedEvent(Cluster cluster, ServiceComponentHost sch, String version, Long repoVersionId)
cluster:
- cluster.sch:
- the service component hostpublic HostComponentVersionAdvertisedEvent(Cluster cluster, ServiceComponentHost sch, String version)
cluster:
- cluster.sch:
- the service component hostpublic ServiceComponentHost getServiceComponentHost()
public Cluster getCluster()
public String getVersion()
public Long getRepositoryVersionId()
public String toString()
toString
in class AmbariEvent
Copyright © 2022 Apache Software Foundation. All rights reserved.