Package org.apache.cassandra.streaming
Interface StreamingChannel
-
- All Known Implementing Classes:
NettyStreamingChannel
public interface StreamingChannel
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StreamingChannel.Factory
static class
StreamingChannel.Kind
static interface
StreamingChannel.Send
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamingDataOutputPlus
acquireOut()
until closed, cannot invokesend(Send)
io.netty.util.concurrent.Future<?>
close()
boolean
connected()
java.net.InetSocketAddress
connectedTo()
java.lang.String
description()
java.lang.Object
id()
StreamingDataInputPlus
in()
void
onClose(java.lang.Runnable runOnClose)
java.net.InetSocketAddress
peer()
io.netty.util.concurrent.Future<?>
send(StreamingChannel.Send send)
-
-
-
Method Detail
-
id
java.lang.Object id()
-
description
java.lang.String description()
-
peer
java.net.InetSocketAddress peer()
-
connectedTo
java.net.InetSocketAddress connectedTo()
-
connected
boolean connected()
-
in
StreamingDataInputPlus in()
-
acquireOut
StreamingDataOutputPlus acquireOut()
until closed, cannot invokesend(Send)
-
send
io.netty.util.concurrent.Future<?> send(StreamingChannel.Send send) throws java.io.IOException
- Throws:
java.io.IOException
-
close
io.netty.util.concurrent.Future<?> close()
-
onClose
void onClose(java.lang.Runnable runOnClose)
-
-