public class ServiceComponentHostServerActionEvent extends ServiceComponentHostEvent
Modifier | Constructor and Description |
---|---|
protected |
ServiceComponentHostServerActionEvent(ServiceComponentHostEventType type,
String serviceComponentName,
String hostName,
long opTimestamp,
String stackId)
Constructs a new ServiceComponentHostServerActionEvent.
|
|
ServiceComponentHostServerActionEvent(String hostName,
long opTimestamp)
Constructs a new ServiceComponentHostServerActionEvent where the component name is set to
"AMBARI_SERVER" and the type is set to ServiceComponentHostEventType.HOST_SVCCOMP_SERVER_ACTION.
|
|
ServiceComponentHostServerActionEvent(String serviceComponentName,
String hostName,
long opTimestamp)
Constructs a new ServiceComponentHostServerActionEvent
|
create, getHostName, getOpTimestamp, getServiceComponentName, getStackId
getTimestamp, getType, toString
protected ServiceComponentHostServerActionEvent(ServiceComponentHostEventType type, String serviceComponentName, String hostName, long opTimestamp, String stackId)
type
- the ServiceComponentHostEventType - expected to be
ServiceComponentHostEventType.HOST_SVCCOMP_SERVER_ACTIONserviceComponentName
- a String declaring the component for which this action is to be
routed - expected to be "AMBARI_SERVER"hostName
- a String declaring the host on which the action should be executed -
expected to be the hostname of the Ambari serveropTimestamp
- the time in which this event was createdstackId
- the relevant stackidpublic ServiceComponentHostServerActionEvent(String hostName, long opTimestamp)
hostName
- a String declaring the host on which the action should be executed -
expected to be the hostname of the Ambari serveropTimestamp
- the time in which this event was createdpublic ServiceComponentHostServerActionEvent(String serviceComponentName, String hostName, long opTimestamp)
serviceComponentName
- a String declaring the name of componenthostName
- a String declaring the host on which the action should be executed -
expected to be the hostname of the Ambari serveropTimestamp
- the time in which this event was createdCopyright © 2022 Apache Software Foundation. All rights reserved.