Package com.day.cq.polling.importer
Interface PollingImporter
-
public interface PollingImporter
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_NAME
The name of the polling importer service.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMinimumInterval()
Returns the configured global minimum interval at which poll configs may run.java.util.Iterator<PollConfig>
getPollConfigs()
Returns anIterator
of all poll configurations registered in the repository.
-
-
-
Field Detail
-
SERVICE_NAME
static final java.lang.String SERVICE_NAME
The name of the polling importer service. This may be used to retrieve the service from the service registry.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPollConfigs
java.util.Iterator<PollConfig> getPollConfigs()
Returns anIterator
of all poll configurations registered in the repository. If none are registered, this method returns an empty iterator.- Returns:
- An iterator of
PollConfig
's
-
getMinimumInterval
long getMinimumInterval()
Returns the configured global minimum interval at which poll configs may run.- Returns:
- The
long
representing the number of seconds of the interval.
-
-