Interface Initializer
- All Superinterfaces:
AutoCloseable,Closeable
Interface for an FDv2 data source initializer that produces a single result.
An initializer runs once and delivers either a change set (success) or a status (error, shutdown, etc.). The orchestrator runs initializers in order until one succeeds with a change set.
Return a Future and complete it when the result is ready. Any Future
implementation is acceptable.
- See Also:
-
Method Summary
-
Method Details
-
run
Future<FDv2SourceResult> run()Run the initializer to completion.Intended to be called at most once per instance. Complete the returned future with the result (change set or status), or complete it exceptionally on error.
- Returns:
- a Future that completes with the result
-