Package com.amazonaws.xray.strategy
Interface StreamingStrategy
- All Known Implementing Classes:
DefaultStreamingStrategy
public interface StreamingStrategy
-
Method Summary
Modifier and TypeMethodDescriptionboolean
requiresStreaming
(Segment segment) Determines whether or not the provided segment requires any subsegment streaming.void
streamSome
(Entity entity, Emitter emitter) Streams (and removes) some subsegment children from the provided segment or subsegment.
-
Method Details
-
requiresStreaming
Determines whether or not the provided segment requires any subsegment streaming.- Parameters:
segment
- the segment to inspect- Returns:
- true if the segment should be streaming.
-
streamSome
Streams (and removes) some subsegment children from the provided segment or subsegment.- Parameters:
entity
- the segment or subsegment to stream children fromemitter
- the emitter to send the child subsegments to
-