|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.analysis.analysisComponent.AbstractAnalysisComponent kieker.analysis.plugin.AbstractPlugin kieker.analysis.plugin.filter.AbstractFilterPlugin kieker.tools.logReplayer.filter.MonitoringRecordLoggerFilter
public class MonitoringRecordLoggerFilter
Passes IMonitoringRecord
s received via its input port INPUT_PORT_NAME_RECORD
to its own IMonitoringController
instance,
which is created based on the Configuration
file passed via the filter's property CONFIG_PROPERTY_NAME_MONITORING_PROPS_FN
.
Additionally, incoming records are relayed via the output port OUTPUT_PORT_NAME_RELAYED_EVENTS
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin |
---|
IPlugin.PluginInputPortReference, IPlugin.STATE |
Field Summary | |
---|---|
static String |
CONFIG_PROPERTY_NAME_MONITORING_PROPS_FN
|
static String |
INPUT_PORT_NAME_RECORD
This is the name of the input port receiving new records. |
static String |
OUTPUT_PORT_NAME_RELAYED_EVENTS
This is the name of the output port delivering the relayed events. |
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
CONFIG_NAME |
Constructor Summary | |
---|---|
MonitoringRecordLoggerFilter(Configuration configuration)
Deprecated. To be removed in Kieker 1.8. |
|
MonitoringRecordLoggerFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters. |
Method Summary | |
---|---|
Configuration |
getCurrentConfiguration()
This method should deliver a Configuration object containing the current configuration of this instance. In other words: The constructor should be
able to use the given object to initialize a new instance of this class with the same intern properties. |
void |
inputIMonitoringRecord(IMonitoringRecord record)
This method represents the input port. |
void |
terminate(boolean error)
Initiates a termination of the plugin. This method is only used by the framework and should not be called manually. Use the method AnalysisController.terminate(boolean) instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers. |
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin |
---|
init |
Methods inherited from class kieker.analysis.plugin.AbstractPlugin |
---|
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start |
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
getName, setProjectContext |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface kieker.analysis.plugin.IPlugin |
---|
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState |
Field Detail |
---|
public static final String INPUT_PORT_NAME_RECORD
public static final String OUTPUT_PORT_NAME_RELAYED_EVENTS
public static final String CONFIG_PROPERTY_NAME_MONITORING_PROPS_FN
Constructor Detail |
---|
public MonitoringRecordLoggerFilter(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this component.projectContext
- The project context for this component.@Deprecated public MonitoringRecordLoggerFilter(Configuration configuration)
configuration
- The configuration for this component.Method Detail |
---|
public void terminate(boolean error)
AnalysisController.terminate(boolean)
instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers.
terminate
in interface IPlugin
terminate
in class AbstractFilterPlugin
error
- Determines whether the plugin is terminated due to an error or not.public Configuration getCurrentConfiguration()
Configuration
object containing the current configuration of this instance. In other words: The constructor should be
able to use the given object to initialize a new instance of this class with the same intern properties.
getCurrentConfiguration
in interface IAnalysisComponent
getCurrentConfiguration
in interface IPlugin
getCurrentConfiguration
in class AbstractAnalysisComponent
public final void inputIMonitoringRecord(IMonitoringRecord record)
record
- The next record.
|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |