Class AbstractRawDataReader
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.reader.AbstractReaderPlugin
kieker.analysis.plugin.reader.newio.AbstractRawDataReader
- All Implemented Interfaces:
IAnalysisComponent
,IPlugin
,IReaderPlugin
- Direct Known Subclasses:
KafkaReader
@Deprecated public abstract class AbstractRawDataReader extends AbstractReaderPlugin
Deprecated.
since 1.15.1 old plugin api
Abstract superclass for all readers which only read raw data to be processed
by a configurable deserializer.
- Since:
- 1.13
- Author:
- Holger Knoche
-
Nested Class Summary
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
-
Field Summary
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext
-
Constructor Summary
Constructors Constructor Description AbstractRawDataReader(Configuration configuration, IProjectContext projectContext, java.lang.String deserializerClassName)
Deprecated.Creates a new reader using the given data. -
Method Summary
Modifier and Type Method Description protected void
decodeAndDeliverRecords(byte[] rawData, java.lang.String outputPortName)
Deprecated.Decodes the given raw data using the configured deserializer and delivers them to the given output port.protected void
decodeAndDeliverRecords(java.nio.ByteBuffer rawData, int dataSize, java.lang.String outputPortName)
Deprecated.Decodes the given raw data using the configured deserializer and delivers them to the given output port.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, start
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getCurrentConfiguration, getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentConfiguration, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState, terminate
-
Constructor Details
-
AbstractRawDataReader
public AbstractRawDataReader(Configuration configuration, IProjectContext projectContext, java.lang.String deserializerClassName)Deprecated.Creates a new reader using the given data.- Parameters:
configuration
- The configuration to useprojectContext
- The project context the reader runs indeserializerClassName
- The class name of the deserializer to use
-
-
Method Details
-
decodeAndDeliverRecords
protected void decodeAndDeliverRecords(byte[] rawData, java.lang.String outputPortName)Deprecated.Decodes the given raw data using the configured deserializer and delivers them to the given output port.- Parameters:
rawData
- The raw data to decodeoutputPortName
- The output port name to send the decoded records to
-
decodeAndDeliverRecords
protected void decodeAndDeliverRecords(java.nio.ByteBuffer rawData, int dataSize, java.lang.String outputPortName)Deprecated.Decodes the given raw data using the configured deserializer and delivers them to the given output port.- Parameters:
rawData
- The raw data to decodedataSize
- The size of the data to decodeoutputPortName
- The output port name to send the decoded records to
-