Modifier and Type | Method and Description |
---|---|
ServiceComponentHostEvent |
ServiceComponentHostEventWrapper.getEvent() |
Modifier and Type | Method and Description |
---|---|
void |
Stage.addHostRoleExecutionCommand(Host host,
Role role,
RoleCommand command,
ServiceComponentHostEvent event,
Cluster cluster,
String serviceName,
boolean retryAllowed,
boolean autoSkipFailure)
A new host role command is created for execution.
|
void |
Stage.addHostRoleExecutionCommand(String host,
Role role,
RoleCommand command,
ServiceComponentHostEvent event,
String clusterName,
String serviceName,
boolean retryAllowed,
boolean autoSkipFailure)
A new host role command is created for execution.
|
HostRoleCommand |
HostRoleCommandFactory.create(Host host,
Role role,
ServiceComponentHostEvent event,
RoleCommand command,
boolean retryAllowed,
boolean autoSkipFailure)
Constructor via factory.
|
HostRoleCommand |
HostRoleCommandFactoryImpl.create(Host host,
Role role,
ServiceComponentHostEvent event,
RoleCommand command,
boolean retryAllowed,
boolean autoSkipFailure)
Constructor via factory.
|
HostRoleCommand |
HostRoleCommandFactory.create(String hostName,
Role role,
ServiceComponentHostEvent event,
RoleCommand command)
Constructor via factory.
|
HostRoleCommand |
HostRoleCommandFactoryImpl.create(String hostName,
Role role,
ServiceComponentHostEvent event,
RoleCommand command)
Constructor via factory.
|
HostRoleCommand |
HostRoleCommandFactory.create(String hostName,
Role role,
ServiceComponentHostEvent event,
RoleCommand command,
boolean retryAllowed,
boolean autoSkipFailure)
Constructor via factory.
|
HostRoleCommand |
HostRoleCommandFactoryImpl.create(String hostName,
Role role,
ServiceComponentHostEvent event,
RoleCommand command,
boolean retryAllowed,
boolean autoSkipFailure)
Constructor via factory.
|
Constructor and Description |
---|
HostRoleCommand(Host host,
Role role,
ServiceComponentHostEvent event,
RoleCommand roleCommand,
boolean retryAllowed,
boolean autoSkipFailure,
HostDAO hostDAO,
ExecutionCommandDAO executionCommandDAO,
ExecutionCommandWrapperFactory ecwFactory) |
HostRoleCommand(String hostName,
Role role,
ServiceComponentHostEvent event,
RoleCommand roleCommand,
boolean retryAllowed,
boolean autoSkipFailure,
HostDAO hostDAO,
ExecutionCommandDAO executionCommandDAO,
ExecutionCommandWrapperFactory ecwFactory)
Simple constructor, should be created using the Factory class.
|
HostRoleCommand(String hostName,
Role role,
ServiceComponentHostEvent event,
RoleCommand command,
HostDAO hostDAO,
ExecutionCommandDAO executionCommandDAO,
ExecutionCommandWrapperFactory ecwFactory)
Simple constructor, should be created using the Factory class.
|
ServiceComponentHostEventWrapper(ServiceComponentHostEvent event) |
Modifier and Type | Method and Description |
---|---|
static ServiceComponentHostEvent |
ServiceComponentHostEvent.create(ServiceComponentHostEventType type,
String serviceComponentName,
String hostName,
long opTimestamp,
Map<String,String> configs,
String stackId) |
Modifier and Type | Method and Description |
---|---|
Map<ServiceComponentHostEvent,String> |
Cluster.processServiceComponentHostEvents(com.google.common.collect.ListMultimap<String,ServiceComponentHostEvent> eventMap)
Bulk handle service component host events
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponentHost.handleEvent(ServiceComponentHostEvent event)
Send a ServiceComponentHostState event to the StateMachine
|
Modifier and Type | Method and Description |
---|---|
Map<ServiceComponentHostEvent,String> |
Cluster.processServiceComponentHostEvents(com.google.common.collect.ListMultimap<String,ServiceComponentHostEvent> eventMap)
Bulk handle service component host events
|
Modifier and Type | Method and Description |
---|---|
Map<ServiceComponentHostEvent,String> |
ClusterImpl.processServiceComponentHostEvents(com.google.common.collect.ListMultimap<String,ServiceComponentHostEvent> eventMap)
Bulk handle service component host events
|
protected Map<ServiceComponentHostEvent,String> |
ClusterImpl.processServiceComponentHostEventsInSingleTransaction(com.google.common.collect.ListMultimap<String,ServiceComponentHostEvent> eventMap)
Bulk handle service component host events, wrapping all handling in a
single transaction.
|
Modifier and Type | Method and Description |
---|---|
Map<ServiceComponentHostEvent,String> |
ClusterImpl.processServiceComponentHostEvents(com.google.common.collect.ListMultimap<String,ServiceComponentHostEvent> eventMap)
Bulk handle service component host events
|
protected Map<ServiceComponentHostEvent,String> |
ClusterImpl.processServiceComponentHostEventsInSingleTransaction(com.google.common.collect.ListMultimap<String,ServiceComponentHostEvent> eventMap)
Bulk handle service component host events, wrapping all handling in a
single transaction.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceComponentHostDisableEvent |
class |
ServiceComponentHostInstallEvent |
class |
ServiceComponentHostOpFailedEvent |
class |
ServiceComponentHostOpInProgressEvent |
class |
ServiceComponentHostOpRestartedEvent |
class |
ServiceComponentHostOpSucceededEvent |
class |
ServiceComponentHostRestoreEvent |
class |
ServiceComponentHostServerActionEvent
Base class for all events that represent server-side actions.
|
class |
ServiceComponentHostStartedEvent |
class |
ServiceComponentHostStartEvent |
class |
ServiceComponentHostStopEvent |
class |
ServiceComponentHostStoppedEvent |
class |
ServiceComponentHostUninstallEvent |
class |
ServiceComponentHostUpgradeEvent |
class |
ServiceComponentHostWipeoutEvent |
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponentHostImpl.handleEvent(ServiceComponentHostEvent event) |
Copyright © 2022 Apache Software Foundation. All rights reserved.