Package io.openems.shared.influxdb
Interface MergePointsWorker
- All Known Implementing Classes:
AbstractMergePointsWorker
,ForceMergePointsWorker
,SafeMergePointsWorker
public interface MergePointsWorker
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
Activates the worker.void
Deactivates the worker.debugLog()
Simple debug log string.boolean
offer
(com.influxdb.client.write.Point point) Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.
-
Method Details
-
activate
void activate()Activates the worker. -
deactivate
void deactivate()Deactivates the worker. -
offer
boolean offer(com.influxdb.client.write.Point point) Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.- Parameters:
point
- thePoint
to add- Returns:
- true if the point was added to this queue, else false
-
debugLog
String debugLog()Simple debug log string.- Returns:
- the debug string
-