Interface IReaderPlugin

All Superinterfaces:
IAnalysisComponent, IPlugin
All Known Implementing Classes:
AbstractRawDataReader, AbstractReaderPlugin, AbstractStringRegistryReaderPlugin, AmqpReader, AsciiLogReader, BinaryLogReader, DbReader, FSReader, JmsReader, JmxReader, KafkaReader, ListReader, PipeReader, RawDataReaderPlugin, TimeReader

@Deprecated
public interface IReaderPlugin
extends IPlugin
Deprecated.
since 1.15.1 old plugin api
This is the interface for reader plugins.
Since:
0.95a
Author:
Andre van Hoorn
  • Method Details

    • read

      boolean read()
      Deprecated.
      Starts the reader. This method is intended to be a blocking operation, i.e., it is assumed that reading has finished before this method returns. The method should indicate an error by the return value false. In asynchronous scenarios, the IPlugin.terminate(boolean) method can be used to initiate the termination of this method.
      Returns:
      true if reading was successful; false if an error occurred
      Since:
      1.2