Class: LaunchDarkly::NullEventProcessor Private

Inherits:
Object
  • Object
show all
Includes:
EventProcessorMethods
Defined in:
lib/ldclient-rb/events.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#flushObject Originally defined in module EventProcessorMethods

Tells the event processor that all pending analytics events should be delivered as soon as possible.

When the LaunchDarkly client generates analytics events (from LDClient#variation, LDClient#variation_detail, LDClient#identify, or LDClient#track), they are queued on a worker thread. The event thread normally sends all queued events to LaunchDarkly at regular intervals, controlled by the Config#flush_interval option. Calling flush triggers a send without waiting for the next interval.

Flushing is asynchronous, so this method will return before it is complete. However, if you call LDClient#close, events are guaranteed to be sent before that method returns.

#record_custom_event(context, key, data = nil, metric_value = nil) ⇒ Object Originally defined in module EventProcessorMethods

#record_eval_event(context, key, version = nil, variation = nil, value = nil, reason = nil, default = nil, track_events = false, debug_until = nil, prereq_of = nil, sampling_ratio = nil, exclude_from_summaries = false) ⇒ Object Originally defined in module EventProcessorMethods

#record_identify_event(context) ⇒ Object Originally defined in module EventProcessorMethods

#record_migration_op_event(event) ⇒ Object Originally defined in module EventProcessorMethods

#stopObject Originally defined in module EventProcessorMethods