Package com.wavefront.agent
Class PointHandlerImpl
- java.lang.Object
-
- com.wavefront.agent.PointHandlerImpl
-
- All Implemented Interfaces:
PointHandler
@Deprecated public class PointHandlerImpl extends Object implements PointHandler
Deprecated.Adds all graphite strings to a working list, and batches them up on a set schedule (100ms) to be sent (through the daemon's logic) up to the collector on the server side.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
blockedPointsPerBatch
Deprecated.protected PostPushDataTimedTask[]
sendDataTasks
Deprecated.
-
Constructor Summary
Constructors Constructor Description PointHandlerImpl(String handle, String validationLevel, int blockedPointsPerBatch, PostPushDataTimedTask[] sendDataTasks)
Deprecated.PointHandlerImpl(String handle, String validationLevel, int blockedPointsPerBatch, String prefix, PostPushDataTimedTask[] sendDataTasks)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PostPushDataTimedTask
getRandomPostTask()
Deprecated.void
handleBlockedPoint(String pointLine)
Deprecated.Called when a blocked line is encountered.static String
pointToString(wavefront.report.ReportPoint point)
Deprecated.void
reportPoint(wavefront.report.ReportPoint point, String debugLine)
Deprecated.Send a point for reporting.void
reportPoints(List<wavefront.report.ReportPoint> points)
Deprecated.Send a collection of points for reporting.
-
-
-
Field Detail
-
blockedPointsPerBatch
protected final int blockedPointsPerBatch
Deprecated.
-
sendDataTasks
protected final PostPushDataTimedTask[] sendDataTasks
Deprecated.
-
-
Constructor Detail
-
PointHandlerImpl
public PointHandlerImpl(String handle, String validationLevel, int blockedPointsPerBatch, PostPushDataTimedTask[] sendDataTasks)
Deprecated.
-
PointHandlerImpl
public PointHandlerImpl(String handle, String validationLevel, int blockedPointsPerBatch, @Nullable String prefix, PostPushDataTimedTask[] sendDataTasks)
Deprecated.
-
-
Method Detail
-
reportPoint
public void reportPoint(wavefront.report.ReportPoint point, @Nullable String debugLine)
Deprecated.Description copied from interface:PointHandler
Send a point for reporting.- Specified by:
reportPoint
in interfacePointHandler
- Parameters:
point
- Point to report.debugLine
- Debug information to print to console when the line is rejected. If null, then use the entire point converted to string.
-
reportPoints
public void reportPoints(List<wavefront.report.ReportPoint> points)
Deprecated.Description copied from interface:PointHandler
Send a collection of points for reporting.- Specified by:
reportPoints
in interfacePointHandler
- Parameters:
points
- Points to report.
-
getRandomPostTask
public PostPushDataTimedTask getRandomPostTask()
Deprecated.
-
handleBlockedPoint
public void handleBlockedPoint(@Nullable String pointLine)
Deprecated.Description copied from interface:PointHandler
Called when a blocked line is encountered.- Specified by:
handleBlockedPoint
in interfacePointHandler
- Parameters:
pointLine
- Line encountered. If null, it will increment the blocked points counter but won't write to the log
-
pointToString
public static String pointToString(wavefront.report.ReportPoint point)
Deprecated.
-
-