public class LocalAgentLauncherImpl extends java.lang.Object implements AgentLauncher
AgentLauncher which launched Agent instances on the local Genie hardware.| Constructor and Description |
|---|
LocalAgentLauncherImpl(GenieWebHostInfo hostInfo,
GenieWebRpcInfo rpcInfo,
DataServices dataServices,
LocalAgentLauncherProperties launcherProperties,
ExecutorFactory executorFactory,
io.micrometer.core.instrument.MeterRegistry registry)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.actuate.health.Health |
health() |
void |
launchAgent(@Valid ResolvedJob resolvedJob)
Launch an agent to execute the given
ResolvedJob information. |
public LocalAgentLauncherImpl(GenieWebHostInfo hostInfo, GenieWebRpcInfo rpcInfo, DataServices dataServices, LocalAgentLauncherProperties launcherProperties, ExecutorFactory executorFactory, io.micrometer.core.instrument.MeterRegistry registry)
hostInfo - The GenieWebHostInfo instancerpcInfo - The GenieWebRpcInfo instancedataServices - The DataServices encapsulation instance to uselauncherProperties - The properties from the configuration that control agent behaviorexecutorFactory - A ExecutorFactory to create Executor
instancesregistry - Metrics repositorypublic void launchAgent(@Valid
@Valid ResolvedJob resolvedJob)
throws AgentLaunchException
ResolvedJob information.launchAgent in interface AgentLauncherresolvedJob - The ResolvedJob information for the agent to act onAgentLaunchException - For any error launching an Agent instance to run the jobpublic org.springframework.boot.actuate.health.Health health()
health in interface org.springframework.boot.actuate.health.HealthIndicator