It's just a count maintained across calls to the method which tracks how
many entries have been stored in the data structures. This is so it can stop
growing the data size once a limit has been reached.

It would not work to expose this method directly, as-is, no.
Instead I think you want to reflect your updates by calling updateItemPref()
and/or removeItemPref() for all the changes that your user makes.

2011/2/24 Daniel Mühlbachler <[email protected]>

> Hello,
>
> I have a problem with the memory caching recommender. Due to performance
> issues I must choose a memory caching recommender but we need to reload the
> cache only for one user (I don't explain why).
> After investigating the MemoryDiffStorage for the SlopeOne recommender, I
> found the method "private long processOneUser(long averageCount, long
> userID)" that processes only one user - right? In fact, my idea is that I am
> making this method public and add this method to the WebService class but
> what is this averageCount variable? Does it matter if I choose a random
> number or must that be a special one?
> Moreover, where can I find the WebService class files and how can I compile
> them again to get a *.jws file so that I can add this method to the
> WebService?
>
> Thanks in advance!
> Best regards,
> Daniel Mühlbachler
>

Reply via email to