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 void
close()
Close theAbstractEventDataProvider
abstract java.lang.String
getConfiguration()
display String describing thAbstractEventDataProvider
abstract long
getMaxLength()
Returns the maxLength of the inputStreamabstract long
getStatus(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 StorageException
Close theAbstractEventDataProvider
- Throws:
StorageException
-
getConfiguration
public abstract java.lang.String getConfiguration()
display String describing thAbstractEventDataProvider
-
-