Package com.wavefront.agent.handlers
Interface SenderTaskFactory
-
- All Known Implementing Classes:
SenderTaskFactoryImpl
public interface SenderTaskFactory
Factory forSenderTask
objects.- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<SenderTask>
createSenderTasks(HandlerKey handlerKey, int numThreads)
Create a collection ofobjects
for a specified handler key.void
drainBuffersToQueue()
Drain memory buffers to queue for all tasks.void
shutdown()
Shut down all tasks.
-
-
-
Method Detail
-
createSenderTasks
Collection<SenderTask> createSenderTasks(@NotNull HandlerKey handlerKey, int numThreads)
Create a collection ofobjects
for a specified handler key.- Parameters:
handlerKey
- unique identifier for the handler.numThreads
- create a specified number of threads.- Returns:
- created tasks.
-
shutdown
void shutdown()
Shut down all tasks.
-
drainBuffersToQueue
void drainBuffersToQueue()
Drain memory buffers to queue for all tasks.
-
-