Package com.wavefront.agent.queueing
Interface TaskQueueFactory
-
- All Known Implementing Classes:
SQSQueueFactoryImpl
,TaskQueueFactoryImpl
public interface TaskQueueFactory
A factory forTaskQueue
objects.- Author:
- [email protected].
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends DataSubmissionTask<T>>
TaskQueue<T>getTaskQueue(HandlerKey handlerKey, int threadNum)
Create a task queue for a specifiedHandlerKey
and thread number.
-
-
-
Method Detail
-
getTaskQueue
<T extends DataSubmissionTask<T>> TaskQueue<T> getTaskQueue(@Nonnull HandlerKey handlerKey, int threadNum)
Create a task queue for a specifiedHandlerKey
and thread number.- Parameters:
handlerKey
- handler key for theTaskQueue
. Usually part of the file name.threadNum
- thread number. Usually part of the file name.- Returns:
- task queue for the specified thread
-
-