Class AbstractEventDataProvider

java.lang.Object
com.jalios.jcms.analytics.storage.AbstractEventDataProvider
All Implemented Interfaces:
Iterable<EventData>
Direct Known Subclasses:
FileSystemEventDataProvider

public abstract class AbstractEventDataProvider extends Object implements Iterable<EventData>
  • Constructor Details

    • AbstractEventDataProvider

      public AbstractEventDataProvider()
  • Method Details

    • getStatus

      public abstract long getStatus(boolean absolute, boolean done)
      Return the status of the stream. How many bytes have been read.
      Parameters:
      absolute - if return an absolute value or percentage
      done - if return the available byte or done bytes
      Returns:
      long the status of the stream
    • getMaxLength

      public abstract long getMaxLength()
      Returns the maxLength of the inputStream
      Returns:
      the maxLength of the inputStream
    • close

      public abstract void close() throws StorageException
      Throws:
      StorageException
    • getConfiguration

      public abstract String getConfiguration()
      display String describing th AbstractEventDataProvider