Class NettyStreamingConnectionFactory
- java.lang.Object
-
- org.apache.cassandra.streaming.async.NettyStreamingConnectionFactory
-
- All Implemented Interfaces:
StreamingChannel.Factory
- Direct Known Subclasses:
BulkLoadConnectionFactory
public class NettyStreamingConnectionFactory extends java.lang.Object implements StreamingChannel.Factory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.streaming.StreamingChannel.Factory
StreamingChannel.Factory.Global
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_CONNECT_ATTEMPTS
-
Constructor Summary
Constructors Constructor Description NettyStreamingConnectionFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NettyStreamingChannelconnect(OutboundConnectionSettings template, int messagingVersion, StreamingChannel.Kind kind)StreamingChannelcreate(java.net.InetSocketAddress to, int messagingVersion, StreamingChannel.Kind kind)StreamingChannelcreate(java.net.InetSocketAddress to, java.net.InetSocketAddress preferred, int messagingVersion, StreamingChannel.Kind kind)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.streaming.StreamingChannel.Factory
supportsPreferredIp
-
-
-
-
Method Detail
-
connect
public static NettyStreamingChannel connect(OutboundConnectionSettings template, int messagingVersion, StreamingChannel.Kind kind) throws java.io.IOException
- Throws:
java.io.IOException
-
create
public StreamingChannel create(java.net.InetSocketAddress to, int messagingVersion, StreamingChannel.Kind kind) throws java.io.IOException
- Specified by:
createin interfaceStreamingChannel.Factory- Throws:
java.io.IOException
-
create
public StreamingChannel create(java.net.InetSocketAddress to, java.net.InetSocketAddress preferred, int messagingVersion, StreamingChannel.Kind kind) throws java.io.IOException
- Specified by:
createin interfaceStreamingChannel.Factory- Throws:
java.io.IOException
-
-