public interface Request<V>
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletionStage<V> |
asFuture() |
void |
fail(java.lang.Throwable e,
HostAndPort address) |
byte[] |
getKey() |
void |
handle(java.lang.Object msg,
HostAndPort address) |
io.netty.buffer.ByteBuf |
writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer workingBuffer) |
byte[] getKey()
void fail(java.lang.Throwable e,
HostAndPort address)
java.util.concurrent.CompletionStage<V> asFuture()
io.netty.buffer.ByteBuf writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer workingBuffer)
void handle(java.lang.Object msg,
HostAndPort address)
throws java.io.IOException
java.io.IOExceptionCopyright © 2020 Spotify AB. All Rights Reserved.