Module: LaunchDarkly::Interfaces::DataSystem::Synchronizer
- Included in:
- LaunchDarkly::Impl::Integrations::FileDataSourceV2
- Defined in:
- lib/ldclient-rb/interfaces/data_system.rb
Overview
Synchronizer represents a component capable of synchronizing data from an external source.
This type is not stable, and not subject to any backwards compatibility guarantees or semantic versioning. It is in early access. If you want access to this feature please join the EAP. https://launchdarkly.com/docs/sdk/features/data-saving-mode
Instance Method Summary collapse
-
#name ⇒ String
Returns the name of the synchronizer.
-
#stop ⇒ void
Halts the synchronization process.
-
#sync(selector_store) {|update| ... } ⇒ void
Begins the synchronization process, yielding Update objects.
Instance Method Details
#name ⇒ String
Returns the name of the synchronizer.
678 679 680 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 678 def name raise NotImplementedError, "#{self.class} must implement #name" end |
#stop ⇒ void
This method returns an undefined value.
Halts the synchronization process.
698 699 700 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 698 def stop raise NotImplementedError, "#{self.class} must implement #stop" end |
#sync(selector_store) {|update| ... } ⇒ void
This method returns an undefined value.
Begins the synchronization process, yielding Update objects.
689 690 691 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 689 def sync(selector_store, &block) raise NotImplementedError, "#{self.class} must implement #sync" end |