Should the files be exactly named starting from one as ratings.1.txt or can
they be named ratings.2011-6.txt?

By looking at the code it's not very clear to me how this mechanism works. I
can see there's a constructor argument for FileDataModel which defaults to 1
minute. But, from what I'm seing the model doesn't load changes a few
minutes after I create the update file.
Is there some thread that runs and scans the folder periodically? Or should
refresh be explicitly called on the FileDataModel?

On Thu, Jan 6, 2011 at 1:48 PM, Sean Owen <[email protected]> wrote:

> By default every few minutes, you could change it though.
>
> On Thu, Jan 6, 2011 at 12:40 PM, Vasil Vangelovski
> <[email protected]> wrote:
> > When does FileDataModel read any update files from the directory?
> > Specifically if I run a recommender within a servlet much like in
> > taste-webapp where updates are written to update files in the directory
> > where the main ratings file is when will the FileDataModel take these
> > updates into consideration?
> >
>

Reply via email to