Class SenderTaskFactoryImpl

    • Constructor Detail

      • SenderTaskFactoryImpl

        public SenderTaskFactoryImpl​(ForceQueueEnabledProxyAPI proxyAPI,
                                     UUID proxyId,
                                     com.google.common.util.concurrent.RecyclableRateLimiter globalRateLimiter,
                                     AtomicInteger pushFlushInterval,
                                     @Nullable
                                     AtomicInteger itemsPerBatch,
                                     @Nullable
                                     AtomicInteger memoryBufferLimit)
        Create new instance.
        Parameters:
        proxyAPI - handles interaction with Wavefront servers as well as queueing.
        proxyId - proxy ID.
        globalRateLimiter - rate limiter to control outbound point rate.
        pushFlushInterval - interval between flushes.
        itemsPerBatch - max points per flush.
        memoryBufferLimit - max points in task's memory buffer before queueing.