Package com.amazonaws.xray.strategy
Interface StreamingStrategy
-
- All Known Implementing Classes:
DefaultStreamingStrategy
public interface StreamingStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
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 Detail
-
requiresStreaming
boolean requiresStreaming(Segment segment)
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.
-
-