|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object proj.zoie.impl.indexing.StreamDataProvider<D> com.senseidb.gateway.file.LinedFileDataProvider<D>
public abstract class LinedFileDataProvider<D>
Field Summary |
---|
Fields inherited from class proj.zoie.impl.indexing.StreamDataProvider |
---|
_versionComparator |
Constructor Summary | |
---|---|
LinedFileDataProvider(Comparator<String> versionComparator,
File file,
long startingOffset)
|
Method Summary | |
---|---|
protected abstract D |
convertLine(String line)
|
proj.zoie.api.DataConsumer.DataEvent<D> |
next()
|
void |
reset()
|
void |
setStartingOffset(String version)
|
void |
start()
|
void |
stop()
|
Methods inherited from class proj.zoie.impl.indexing.StreamDataProvider |
---|
getBatchSize, getDataConsumer, getEventCount, getEventsPerMinute, getMaxEventsPerMinute, getRetryTime, getStatus, pause, resume, setBatchSize, setDataConsumer, setMaxEventsPerMinute, setRetryTime, syncWithVersion, syncWthVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinedFileDataProvider(Comparator<String> versionComparator, File file, long startingOffset)
Method Detail |
---|
protected abstract D convertLine(String line) throws IOException
IOException
public proj.zoie.api.DataConsumer.DataEvent<D> next()
next
in class proj.zoie.impl.indexing.StreamDataProvider<D>
public void setStartingOffset(String version)
setStartingOffset
in class proj.zoie.impl.indexing.StreamDataProvider<D>
public void reset()
reset
in class proj.zoie.impl.indexing.StreamDataProvider<D>
public void start()
start
in interface proj.zoie.mbean.DataProviderAdminMBean
start
in class proj.zoie.impl.indexing.StreamDataProvider<D>
public void stop()
stop
in interface proj.zoie.mbean.DataProviderAdminMBean
stop
in class proj.zoie.impl.indexing.StreamDataProvider<D>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |