Class 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 Detail

      • blockedPointsPerBatch

        protected final int blockedPointsPerBatch
        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 interface PointHandler
        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 interface PointHandler
        Parameters:
        points - Points to report.
      • handleBlockedPoint

        public void handleBlockedPoint​(@Nullable
                                       String pointLine)
        Deprecated.
        Description copied from interface: PointHandler
        Called when a blocked line is encountered.
        Specified by:
        handleBlockedPoint in interface PointHandler
        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.