com.netflix.config
Interface PolledConfigurationSource
- All Known Implementing Classes:
- JDBCConfigurationSource, URLConfigurationSource
public interface PolledConfigurationSource
The definition of configuration source that brings dynamic changes to the configuration via polling.
Method Summary |
PollResult |
poll(boolean initial,
java.lang.Object checkPoint)
Poll the configuration source to get the latest content. |
poll
PollResult poll(boolean initial,
java.lang.Object checkPoint)
throws java.lang.Exception
- Poll the configuration source to get the latest content.
- Parameters:
initial
- true if this operation is the first poll.checkPoint
- Object that is used to determine the starting point if the result returned is incremental.
Null if there is no check point or the caller wishes to get the full content.
- Returns:
- The content of the configuration which may be full or incremental.
- Throws:
java.lang.Exception
- If any exception occurs when fetching the configurations.