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 <T> Collection<SenderTask<T>>
createSenderTasks(HandlerKey handlerKey)
Create a collection ofobjects
for a specified handler key.void
drainBuffersToQueue(QueueingReason reason)
Drain memory buffers to queue for all tasks.void
shutdown()
Shut down all tasks.void
shutdown(String handle)
Shut down specific pipeline
-
-
-
Method Detail
-
createSenderTasks
<T> Collection<SenderTask<T>> createSenderTasks(@Nonnull HandlerKey handlerKey)
Create a collection ofobjects
for a specified handler key.- Parameters:
handlerKey
- unique identifier for the handler.- Returns:
- created tasks.
-
shutdown
void shutdown()
Shut down all tasks.
-
shutdown
void shutdown(@Nonnull String handle)
Shut down specific pipeline- Parameters:
handle
- pipeline's handle
-
drainBuffersToQueue
void drainBuffersToQueue(@Nullable QueueingReason reason)
Drain memory buffers to queue for all tasks.- Parameters:
reason
- reason for queueing
-
-