Interface StreamingStrategy

    • 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.
      • streamSome

        void streamSome​(Entity entity,
                        Emitter emitter)
        Streams (and removes) some subsegment children from the provided segment or subsegment.
        Parameters:
        entity - the segment or subsegment to stream children from
        emitter - the emitter to send the child subsegments to