Class UpdateComponent
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.config.Parameterized
public final class UpdateComponent implements ParameterizedThe update component.
-
-
Field Summary
Fields Modifier and Type Field Description private final WebDbwebDbprivate final FetchSchedulefetchScheduleprivate final MiscMessageWritermessageWriterprivate final ImmutableConfigconf
-
Constructor Summary
Constructors Constructor Description UpdateComponent(WebDb webDb, ImmutableConfig conf)UpdateComponent(WebDb webDb, FetchSchedule fetchSchedule, MiscMessageWriter messageWriter, ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description final WebDbgetWebDb()final FetchSchedulegetFetchSchedule()final MiscMessageWritergetMessageWriter()final ImmutableConfiggetConf()final UnitupdateFetchSchedule(WebPage page)-
-
Constructor Detail
-
UpdateComponent
UpdateComponent(WebDb webDb, ImmutableConfig conf)
-
UpdateComponent
UpdateComponent(WebDb webDb, FetchSchedule fetchSchedule, MiscMessageWriter messageWriter, ImmutableConfig conf)
-
-
Method Detail
-
getWebDb
final WebDb getWebDb()
-
getFetchSchedule
final FetchSchedule getFetchSchedule()
-
getMessageWriter
final MiscMessageWriter getMessageWriter()
-
getConf
final ImmutableConfig getConf()
-
updateFetchSchedule
final Unit updateFetchSchedule(WebPage page)
-
-
-
-