Package com.wavefront.agent.handlers
Interface ReportableEntityHandlerFactory
-
- All Known Implementing Classes:
DelegatingReportableEntityHandlerFactoryImpl
,ReportableEntityHandlerFactoryImpl
public interface ReportableEntityHandlerFactory
Factory forReportableEntityHandler
objects.- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T,U>
ReportableEntityHandler<T,U>getHandler(HandlerKey handlerKey)
Create, or return existing,ReportableEntityHandler
.default <T,U>
ReportableEntityHandler<T,U>getHandler(com.wavefront.data.ReportableEntityType entityType, String handle)
Create, or return existing,ReportableEntityHandler
.void
shutdown(String handle)
Shutdown pipeline for a specific handle.
-
-
-
Method Detail
-
getHandler
<T,U> ReportableEntityHandler<T,U> getHandler(HandlerKey handlerKey)
Create, or return existing,ReportableEntityHandler
.- Parameters:
handlerKey
- unique identifier for the handler.- Returns:
- new or existing handler.
-
getHandler
default <T,U> ReportableEntityHandler<T,U> getHandler(com.wavefront.data.ReportableEntityType entityType, String handle)
Create, or return existing,ReportableEntityHandler
.- Parameters:
entityType
- ReportableEntityType for the handler.handle
- handle.- Returns:
- new or existing handler.
-
-