Class EventDataSubmissionTask

    • 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

      • EventDataSubmissionTask

        public EventDataSubmissionTask​(com.wavefront.api.EventAPI api,
                                       UUID proxyId,
                                       EntityProperties properties,
                                       TaskQueue<EventDataSubmissionTask> backlog,
                                       String handle,
                                       @Nonnull
                                       List<com.wavefront.dto.Event> events,
                                       @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.
        handle - Handle (usually port number) of the pipeline where the data came from.
        events - Data payload.
        timeProvider - Time provider (in millis).