Class LineDelimitedDataSubmissionTask

    • Field Detail

      • enqueuedTimeMillis

        protected long enqueuedTimeMillis
      • attempts

        protected int attempts
      • serverErrors

        protected int serverErrors
      • handle

        protected String handle
      • entityType

        protected com.wavefront.data.ReportableEntityType entityType
      • limitRetries

        protected Boolean limitRetries
      • timeSpentInQueue

        protected transient com.yammer.metrics.core.Histogram timeSpentInQueue
      • timeProvider

        protected transient Supplier<Long> timeProvider
    • Constructor Detail

      • LineDelimitedDataSubmissionTask

        public LineDelimitedDataSubmissionTask​(com.wavefront.api.ProxyV2API api,
                                               UUID proxyId,
                                               EntityProperties properties,
                                               TaskQueue<LineDelimitedDataSubmissionTask> backlog,
                                               String format,
                                               com.wavefront.data.ReportableEntityType entityType,
                                               String handle,
                                               @Nonnull
                                               List<String> payload,
                                               @Nullable
                                               Supplier<Long> timeProvider)
        Parameters:
        api - API endpoint
        proxyId - Proxy identifier. Used to authenticate proxy with the API.
        properties - entity-specific wrapper over mutable proxy settings' container.
        backlog - task queue.
        format - Data format (passed as an argument to the API)
        entityType - Entity type handled
        handle - Handle (usually port number) of the pipeline where the data came from.
        payload - Data payload
        timeProvider - Time provider (in millis)