Class AbstractEventDataProvider
- java.lang.Object
-
- com.jalios.jcms.analytics.storage.AbstractEventDataProvider
-
- All Implemented Interfaces:
java.lang.Iterable<EventData>
- Direct Known Subclasses:
FileSystemEventDataProvider
public abstract class AbstractEventDataProvider extends java.lang.Object implements java.lang.Iterable<EventData>
-
-
Constructor Summary
Constructors Constructor Description AbstractEventDataProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidclose()Close theAbstractEventDataProviderabstract java.lang.StringgetConfiguration()display String describing thAbstractEventDataProviderabstract longgetMaxLength()Returns the maxLength of the inputStreamabstract longgetStatus(boolean absolute, boolean done)Return the status of the stream.
-
-
-
Method Detail
-
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 percentagedone- 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 StorageExceptionClose theAbstractEventDataProvider- Throws:
StorageException
-
getConfiguration
public abstract java.lang.String getConfiguration()
display String describing thAbstractEventDataProvider
-
-