apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From priyanka gugale <priyanka.gug...@gmail.com>
Subject Re: FileSplitter reading the same file again
Date Wed, 14 Oct 2015 11:25:55 GMT
Hi Chiru,

FileSplitter has a scanInterval property. The FileSplitter scans the input 
files after every scan interval. But it copies a file again only if it's 
modified. Check the scan() method in FileSplitter class.
Is your input file getting modified frequently?

-Priyanka

On Wednesday, October 14, 2015 at 4:44:14 PM UTC+5:30, Chiru wrote:
>
> Hi All,
>
> Iam reading a file from the directory using FileSplitter, but it is 
> reading the same file again and again.
> -> Is there a way to restrict FileSplitter to read the same file again?
>
> Thanks - Chiru
>

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message