public class ClusterEvent extends AmbariEvent
ClusterEvent represents all events in Ambari that can be scoped
within a cluster.AmbariEvent.AmbariEventType| Modifier and Type | Field and Description |
|---|---|
protected long |
m_clusterId
The cluster ID.
|
m_eventType| Constructor and Description |
|---|
ClusterEvent(AmbariEvent.AmbariEventType eventType,
long clusterId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getClusterId()
Gets the cluster ID that the event belongs to.
|
getType, toStringpublic ClusterEvent(AmbariEvent.AmbariEventType eventType, long clusterId)
eventType - clusterId - Copyright © 2022 Apache Software Foundation. All rights reserved.