public static interface StreamingChannel.Factory
Modifier and Type | Interface and Description |
---|---|
static class |
StreamingChannel.Factory.Global |
Modifier and Type | Method and Description |
---|---|
default StreamingChannel |
create(java.net.InetSocketAddress to,
java.net.InetSocketAddress preferred,
int messagingVersion,
StreamingChannel.Kind kind) |
StreamingChannel |
create(java.net.InetSocketAddress to,
int messagingVersion,
StreamingChannel.Kind kind) |
default boolean |
supportsPreferredIp()
Provide way to disable getPreferredIP() for tools without access to the system keyspace
CASSANDRA-17663 moves calls to SystemKeyspace.getPreferredIP() outside of any threads
that are regularly interrupted.
|
StreamingChannel create(java.net.InetSocketAddress to, int messagingVersion, StreamingChannel.Kind kind) throws java.io.IOException
java.io.IOException
default StreamingChannel create(java.net.InetSocketAddress to, java.net.InetSocketAddress preferred, int messagingVersion, StreamingChannel.Kind kind) throws java.io.IOException
java.io.IOException
default boolean supportsPreferredIp()
Copyright © 2009- The Apache Software Foundation