Class: LaunchDarkly::Impl::MigrationOpEvent Private
- Defined in:
- lib/ldclient-rb/impl/event_types.rb
Overview
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 Attribute Summary collapse
- #consistency_check ⇒ Object readonly private
- #consistency_check_ratio ⇒ Object readonly private
- #default ⇒ Object readonly private
- #errors ⇒ Object readonly private
- #evaluation ⇒ Object readonly private
- #invoked ⇒ Object readonly private
- #key ⇒ Object readonly private
- #latencies ⇒ Object readonly private
- #operation ⇒ Object readonly private
- #sampling_ratio ⇒ Object readonly private
- #version ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(timestamp, context, key, flag, operation, default_stage, evaluation, invoked, consistency_check, consistency_check_ratio, errors, latencies) ⇒ MigrationOpEvent
constructor
private
A migration op event represents the results of a migration-assisted read or write operation.
Constructor Details
#initialize(timestamp, context, key, flag, operation, default_stage, evaluation, invoked, consistency_check, consistency_check_ratio, errors, latencies) ⇒ MigrationOpEvent
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
A migration op event represents the results of a migration-assisted read or write operation.
The event includes optional measurements reporting on consistency checks, error reporting, and operation latency values.
74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 74 def initialize(, context, key, flag, operation, default_stage, evaluation, invoked, consistency_check, consistency_check_ratio, errors, latencies) super(, context) @operation = operation @key = key @version = flag&.version @sampling_ratio = flag&.sampling_ratio @default = default_stage @evaluation = evaluation @consistency_check = consistency_check @consistency_check_ratio = consistency_check.nil? ? nil : consistency_check_ratio @invoked = invoked @errors = errors @latencies = latencies end |
Instance Attribute Details
#consistency_check ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
95 96 97 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 95 def consistency_check @consistency_check end |
#consistency_check_ratio ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
96 97 98 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 96 def consistency_check_ratio @consistency_check_ratio end |
#default ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
93 94 95 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 93 def default @default end |
#errors ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
98 99 100 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 98 def errors @errors end |
#evaluation ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
94 95 96 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 94 def evaluation @evaluation end |
#invoked ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
97 98 99 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 97 def invoked @invoked end |
#key ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
90 91 92 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 90 def key @key end |
#latencies ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
99 100 101 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 99 def latencies @latencies end |
#operation ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
89 90 91 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 89 def operation @operation end |
#sampling_ratio ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
92 93 94 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 92 def sampling_ratio @sampling_ratio end |
#version ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
91 92 93 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 91 def version @version end |