public class InfluxDbClientService extends Object implements AgentService, ServiceLifecycle
| Constructor and Description |
|---|
InfluxDbClientService() |
| Modifier and Type | Method and Description |
|---|---|
org.influxdb.dto.BatchPoints |
createBatchPoints() |
String |
getAgentServiceName()
Get the name of this service.
|
Map<String,String> |
getGlobalTags() |
boolean |
isEnabled() |
void |
preInit() |
void |
preShutdown() |
void |
preStart()
Called from the enclosing
Subsystem when
org.lsst.ccs.Subsystem#start() has been called. |
void |
setEnabled(boolean enabled) |
boolean |
startForAgent(AgentInfo agentInfo)
This method is invoked after an agent service is created to see if
this service is to be started for the tiven Agent.
|
void |
write(org.influxdb.dto.BatchPoints points) |
void |
write(org.influxdb.dto.Point point) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterBuild, afterInit, afterStart, preBuildpublic String getAgentServiceName()
AgentServicegetAgentServiceName in interface AgentServicepublic boolean startForAgent(AgentInfo agentInfo)
AgentServicestartForAgent in interface AgentService@ConfigurationParameterChanger public void setEnabled(boolean enabled)
public boolean isEnabled()
public void preStart()
ServiceLifecycleSubsystem when
org.lsst.ccs.Subsystem#start() has been called.
The preceding lifecycle step is HasLifecycle.postInit()
The following lifecycle step is HasLifecycle.start()
At the time it is called :
PhaseState is
INITIALIZING
connection with the messaging layer is effective, the enclosing
subsystem has started StatusHeartBeat
publication
preStart in interface ServiceLifecyclepublic void preInit()
preInit in interface ServiceLifecyclepublic void preShutdown()
preShutdown in interface ServiceLifecyclepublic void write(org.influxdb.dto.Point point)
public void write(org.influxdb.dto.BatchPoints points)
public org.influxdb.dto.BatchPoints createBatchPoints()
Copyright © 2024 LSST. All rights reserved.