Class FileSystemEventDataProvider
java.lang.Object
com.jalios.jcms.analytics.storage.AbstractEventDataProvider
com.jalios.jcms.analytics.storage.impl.FileSystemEventDataProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close theAbstractEventDataProviderdisplay String describing thAbstractEventDataProviderlongReturns the maxLength of the inputStreamlonggetStatus(boolean absolute, boolean done) Return the status of the stream.iterator()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, spliterator
-
Constructor Details
-
FileSystemEventDataProvider
- Throws:
StorageException
-
-
Method Details
-
iterator
-
getStatus
public long getStatus(boolean absolute, boolean done) Description copied from class:AbstractEventDataProviderReturn the status of the stream. How many bytes have been read.- Specified by:
getStatusin classAbstractEventDataProvider- 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 long getMaxLength()Description copied from class:AbstractEventDataProviderReturns the maxLength of the inputStream- Specified by:
getMaxLengthin classAbstractEventDataProvider- Returns:
- the maxLength of the inputStream
-
getConfiguration
Description copied from class:AbstractEventDataProviderdisplay String describing thAbstractEventDataProvider- Specified by:
getConfigurationin classAbstractEventDataProvider
-
close
Description copied from class:AbstractEventDataProviderClose theAbstractEventDataProvider- Specified by:
closein classAbstractEventDataProvider- Throws:
StorageException
-