public interface TableStreamManager
StreamReceiver
, IncomingStream
,
and OutgoingStream
, which expose the interfaces into the the underlying storage implementation
needed to make streaming work.Modifier and Type | Method and Description |
---|---|
java.util.Collection<OutgoingStream> |
createOutgoingStreams(StreamSession session,
RangesAtEndpoint replicas,
java.util.UUID pendingRepair,
PreviewKind previewKind)
Returns a collection of
OutgoingStream s that contains the data selected by the
given replicas, pendingRepair, and preview. |
StreamReceiver |
createStreamReceiver(StreamSession session,
int totalStreams)
Creates a
StreamReceiver for the given session, expecting the given number of streams |
IncomingStream |
prepareIncomingStream(StreamSession session,
StreamMessageHeader header)
Creates an
IncomingStream for the given header |
StreamReceiver createStreamReceiver(StreamSession session, int totalStreams)
StreamReceiver
for the given session, expecting the given number of streamsIncomingStream prepareIncomingStream(StreamSession session, StreamMessageHeader header)
IncomingStream
for the given headerjava.util.Collection<OutgoingStream> createOutgoingStreams(StreamSession session, RangesAtEndpoint replicas, java.util.UUID pendingRepair, PreviewKind previewKind)
OutgoingStream
s that contains the data selected by the
given replicas, pendingRepair, and preview.
There aren't any requirements on how data is divided between the outgoing streamsCopyright © 2009-2021 The Apache Software Foundation