Module: XRay::Context
- Included in:
- DefaultContext
- Defined in:
- lib/aws-xray-sdk/context/context.rb
Overview
The interface of context management for the X-Ray recorder.
Instance Method Summary collapse
- #clear! ⇒ Object
- #current_entity ⇒ Object
- #handle_context_missing ⇒ Object
-
#inject_context(entity, target_ctx: nil) ⇒ Object
Put current active entity to the new context storage.
- #store_entity(entity:) ⇒ Object
Instance Method Details
#clear! ⇒ Object
13 14 15 |
# File 'lib/aws-xray-sdk/context/context.rb', line 13 def clear! raise 'Not implemented' end |
#current_entity ⇒ Object
9 10 11 |
# File 'lib/aws-xray-sdk/context/context.rb', line 9 def current_entity raise 'Not implemented' end |
#handle_context_missing ⇒ Object
22 23 24 |
# File 'lib/aws-xray-sdk/context/context.rb', line 22 def handle_context_missing raise 'Not implemented' end |
#inject_context(entity, target_ctx: nil) ⇒ Object
Put current active entity to the new context storage.
18 19 20 |
# File 'lib/aws-xray-sdk/context/context.rb', line 18 def inject_context(entity, target_ctx: nil) raise 'Not implemented' end |
#store_entity(entity:) ⇒ Object
5 6 7 |
# File 'lib/aws-xray-sdk/context/context.rb', line 5 def store_entity(entity:) raise 'Not implemented' end |