|
Kieker 1.10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.analysis.plugin.filter.forward.ListCollectionFilter<T>
T - The type of the list.public class ListCollectionFilter<T>
This filter collects the incoming objects in a simple synchronized list. It is mostly used for test purposes.
| Nested Class Summary | |
|---|---|
static class |
ListCollectionFilter.ListFullBehavior
An enum for all possible list full behaviors. |
| Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin |
|---|
IPlugin.PluginInputPortReference, IPlugin.STATE |
| Field Summary | |
|---|---|
static String |
CONFIG_PROPERTY_NAME_LIST_FULL_BEHAVIOR
The name of the property determining the behavior of a full list. |
static String |
CONFIG_PROPERTY_NAME_MAX_NUMBER_OF_ENTRIES
The name of the property determining the maximal number of allowed entries. |
static String |
CONFIG_PROPERTY_VALUE_LIST_FULL_BEHAVIOR
The default value for the behavior of a full list (drop oldest). |
static String |
CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES
The default value for the maximal number of allowed entries (unlimited. |
static String |
INPUT_PORT_NAME
The name of the input port for the incoming objects. |
static String |
OUTPUT_PORT_NAME
The name of the output port for the forwarded objects. |
| Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
|---|
CONFIG_NAME |
| Constructor Summary | |
|---|---|
ListCollectionFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the list. |
Configuration |
getCurrentConfiguration()
This method should deliver a Configuration object containing the current configuration of this instance. |
List<T> |
getList()
Delivers a copy of the internal list. |
void |
input(T data)
This method represents the input port. |
int |
size()
|
| Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin |
|---|
init, terminate |
| 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 |
| 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
public static final String OUTPUT_PORT_NAME
public static final String CONFIG_PROPERTY_NAME_MAX_NUMBER_OF_ENTRIES
public static final String CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES
public static final String CONFIG_PROPERTY_NAME_LIST_FULL_BEHAVIOR
public static final String CONFIG_PROPERTY_VALUE_LIST_FULL_BEHAVIOR
| Constructor Detail |
|---|
public ListCollectionFilter(Configuration configuration,
IProjectContext projectContext)
configuration - The configuration for this component.projectContext - The project context for this component.| Method Detail |
|---|
public void input(T data)
data - The next element.public void clear()
public List<T> getList()
public int size()
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 IAnalysisComponentgetCurrentConfiguration in interface IPlugingetCurrentConfiguration in class AbstractAnalysisComponent
|
Kieker 1.10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||