Hi,

I would like to implement a custom implementation of AbstractFetchSchedule
and would like to change the FetchTime on the basis of some parameters that
I get as a part of my parsing.

// something like this
datum.setFetchTime(fetchTime + (long)datum.getFetchInterval() * 1000 +
customLogic);

Right now I have a custom URLFilter and a custom parser which extends
HtmlParseFilter. At the time of custom parsing, I come across some
parameters which would help me define how should I define the fetchtime for
that URL. I would like to pass these values to my CustomFetchSchedule.

Is there a way to do that? Can I pass them as a part of configuration?

Since I would get the data that i need to make a decision only as a part of
Parse, would it be possible to pass this data to the FetchSchedule?

Thoughts?

Regards | Vikas

Reply via email to