Class AbstractEventDataProvider
java.lang.Object
com.jalios.jcms.analytics.storage.AbstractEventDataProvider
- Direct Known Subclasses:
FileSystemEventDataProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()Close theAbstractEventDataProviderabstract Stringdisplay String describing thAbstractEventDataProviderabstract longReturns the maxLength of the inputStreamabstract longgetStatus(boolean absolute, boolean done) Return the status of the stream.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
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 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
Close theAbstractEventDataProvider- Throws:
StorageException
-
getConfiguration
display String describing thAbstractEventDataProvider
-