com.wavefront.agent.queueing.QueueingFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy Show documentation
Show all versions of proxy Show documentation
Service for batching and relaying metric traffic to Wavefront
package com.wavefront.agent.queueing;
import com.wavefront.agent.data.DataSubmissionTask;
import com.wavefront.agent.handlers.HandlerKey;
import javax.annotation.Nonnull;
/**
* Factory for {@link QueueProcessor} instances.
*
* @author [email protected]
*/
public interface QueueingFactory {
/**
* Create a new {@code QueueController} instance for the specified handler key.
*
* @param handlerKey {@link HandlerKey} for the queue controller.
* @param numThreads number of threads to create processor tasks for.
* @param data submission task type.
* @return {@code QueueController} object
*/
> QueueController getQueueController(
@Nonnull HandlerKey handlerKey, int numThreads);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy