public class ProcessorManager extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ProcessorManager.ProcessorActionWrapper
This class provides the execution behaviour associated with the
information defined in the collector configuration processor
definition.
|
class |
ProcessorManager.ProcessorWrapper
This class provides the execution behaviour associated with the
information defined in the collector configuration processor
definition.
|
| Constructor and Description |
|---|
ProcessorManager(CollectorConfiguration config)
This constructor initialises the processor manager with the configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected ProcessorManager.ProcessorWrapper |
getMatchedProcessor(BusinessTransaction btxn,
Node node,
Direction direction)
This method returns the processor associated with the supplied business
transaction.
|
protected void |
init(CollectorConfiguration config)
This method initialises the filter manager.
|
boolean |
isContentProcessed(BusinessTransaction btxn,
Node node,
Direction direction)
This method determines whether the business transaction, for the supplied node
and in/out direction, will process content information.
|
boolean |
isProcessed(BusinessTransaction btxn,
Node node,
Direction direction)
This method determines whether the business transaction, for the supplied node
and in/out direction, will process available information.
|
void |
process(BusinessTransaction btxn,
Node node,
Direction direction,
Map<String,?> headers,
Object... values)
This method processes the supplied information against the configured processor
details for the business transaction.
|
public ProcessorManager(CollectorConfiguration config)
config - The configurationprotected void init(CollectorConfiguration config)
config - The configurationpublic boolean isProcessed(BusinessTransaction btxn, Node node, Direction direction)
btxn - The business transactionnode - The current nodedirection - The directionpublic boolean isContentProcessed(BusinessTransaction btxn, Node node, Direction direction)
btxn - The business transactionnode - The current nodedirection - The directionprotected ProcessorManager.ProcessorWrapper getMatchedProcessor(BusinessTransaction btxn, Node node, Direction direction)
btxn - The business transactionnode - The nodedirection - The directionpublic void process(BusinessTransaction btxn, Node node, Direction direction, Map<String,?> headers, Object... values)
btxn - The business transactionnode - The node being processeddirection - The directionheaders - The headersvalues - The valuesCopyright © 2015 Red Hat, Inc.. All rights reserved.