Class ListCollectionFilter<T>
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.analysis.plugin.filter.forward.ListCollectionFilter<T>
- Type Parameters:
T- The type of the list.
- All Implemented Interfaces:
IAnalysisComponent,IFilterPlugin,IPlugin
@Deprecated public class ListCollectionFilter<T> extends AbstractFilterPlugin
Deprecated.
1.15 ported to teetime
This filter collects the incoming objects in a simple synchronized list. It
is mostly used for test purposes.
- Since:
- 1.6
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListCollectionFilter.ListFullBehaviorDeprecated.An enum for all possible list full behaviors.Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_PROPERTY_NAME_LIST_FULL_BEHAVIORDeprecated.The name of the property determining the behavior of a full list.static java.lang.StringCONFIG_PROPERTY_NAME_MAX_NUMBER_OF_ENTRIESDeprecated.The name of the property determining the maximal number of allowed entries.static java.lang.StringCONFIG_PROPERTY_VALUE_LIST_FULL_BEHAVIORDeprecated.The default value for the behavior of a full list (drop oldest).static java.lang.StringCONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIESDeprecated.The default value for the maximal number of allowed entries (unlimited.static java.lang.StringINPUT_PORT_NAMEDeprecated.The name of the input port for the incoming objects.static java.lang.StringOUTPUT_PORT_NAMEDeprecated.The name of the output port for the forwarded objects.Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext -
Constructor Summary
Constructors Constructor Description ListCollectionFilter(kieker.common.configuration.Configuration configuration, IProjectContext projectContext)Deprecated.Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description voidclear()Deprecated.Clears the list.kieker.common.configuration.ConfigurationgetCurrentConfiguration()Deprecated.This method should deliver aConfigurationobject containing the current configuration of this instance.java.util.List<T>getList()Deprecated.Delivers a copy of the internal list.voidinput(T data)Deprecated.This method represents the input port.intsize()Deprecated.Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
-
Field Details
-
INPUT_PORT_NAME
public static final java.lang.String INPUT_PORT_NAMEDeprecated.The name of the input port for the incoming objects.- See Also:
- Constant Field Values
-
OUTPUT_PORT_NAME
public static final java.lang.String OUTPUT_PORT_NAMEDeprecated.The name of the output port for the forwarded objects.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_MAX_NUMBER_OF_ENTRIES
public static final java.lang.String CONFIG_PROPERTY_NAME_MAX_NUMBER_OF_ENTRIESDeprecated.The name of the property determining the maximal number of allowed entries.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES
public static final java.lang.String CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIESDeprecated.The default value for the maximal number of allowed entries (unlimited.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_LIST_FULL_BEHAVIOR
public static final java.lang.String CONFIG_PROPERTY_NAME_LIST_FULL_BEHAVIORDeprecated.The name of the property determining the behavior of a full list.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_VALUE_LIST_FULL_BEHAVIOR
public static final java.lang.String CONFIG_PROPERTY_VALUE_LIST_FULL_BEHAVIORDeprecated.The default value for the behavior of a full list (drop oldest).- See Also:
- Constant Field Values
-
-
Constructor Details
-
ListCollectionFilter
public ListCollectionFilter(kieker.common.configuration.Configuration configuration, IProjectContext projectContext)Deprecated.Creates a new instance of this class using the given parameters.- Parameters:
configuration- The configuration for this component.projectContext- The project context for this component.
-
-
Method Details
-
input
Deprecated.This method represents the input port.- Parameters:
data- The next element.
-
clear
public void clear()Deprecated.Clears the list. -
getList
Deprecated.Delivers a copy of the internal list.- Returns:
- The content of the internal list.
-
size
public int size()Deprecated.- Returns:
- The current number of collected objects.
-
getCurrentConfiguration
public kieker.common.configuration.Configuration getCurrentConfiguration()Deprecated.This method should deliver aConfigurationobject 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.- Specified by:
getCurrentConfigurationin interfaceIAnalysisComponent- Specified by:
getCurrentConfigurationin interfaceIPlugin- Specified by:
getCurrentConfigurationin classAbstractAnalysisComponent- Returns:
- A completely filled configuration object.
-