Module: LaunchDarkly::Interfaces::DataSystem::Synchronizer
- 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 not suitable for production usage.
Do not use it. You have been warned.
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.
729 730 731 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 729 def name raise NotImplementedError, "#{self.class} must implement #name" end |
#stop ⇒ void
This method returns an undefined value.
Halts the synchronization process.
749 750 751 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 749 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.
740 741 742 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 740 def sync(selector_store, &block) raise NotImplementedError, "#{self.class} must implement #sync" end |