Package org.apache.cassandra.streaming

Examples of org.apache.cassandra.streaming.StreamResultFuture


            {
                StreamResultFuture.initReceivingSide(init.planId, init.description, init.from, socket, version);
            }
            else
            {
                StreamResultFuture stream = StreamManager.instance.getStream(init.planId);
                if (stream == null)
                {
                    // This should not happen. All we can do is close the socket to inform the other side, but that's a bug.
                    logger.error("Got StreamInit message for a stream we are supposed to be the initiator of, but stream not found.");
                    socket.close();
                    return;
                }
                // We're fully setup for this session, start the actual streaming
                stream.startStreaming(init.from, socket, version);
            }
        }
        catch (IOException e)
        {
            logger.debug("IOException reading from socket; closing", e);
View Full Code Here

TOP

Related Classes of org.apache.cassandra.streaming.StreamResultFuture

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.