public class StreamsAddressRequest extends Object implements ICorfuPayload<StreamsAddressRequest>
ICorfuPayload.PayloadConstructor<T>
Modifier and Type | Field and Description |
---|---|
static byte |
ALL_STREAMS |
static byte |
STREAMS |
constructorMap, lookup
Constructor and Description |
---|
StreamsAddressRequest(Byte reqType) |
StreamsAddressRequest(io.netty.buffer.ByteBuf buf)
Deserialization Constructor from Bytebuf to StreamsAddressRequest.
|
StreamsAddressRequest(List<StreamAddressRange> streamsRanges) |
Modifier and Type | Method and Description |
---|---|
void |
doSerialize(io.netty.buffer.ByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enumMapFromBuffer, fromBuffer, fromBuffer, listFromBuffer, mapFromBuffer, rangeFromBuffer, rangeSetFromBuffer, serialize, setFromBuffer
public static final byte STREAMS
public static final byte ALL_STREAMS
public StreamsAddressRequest(@NonNull List<StreamAddressRange> streamsRanges)
public StreamsAddressRequest(Byte reqType)
public StreamsAddressRequest(io.netty.buffer.ByteBuf buf)
buf
- The buffer to deserializepublic void doSerialize(io.netty.buffer.ByteBuf buf)
doSerialize
in interface ICorfuPayload<StreamsAddressRequest>
Copyright © 2019 CorfuDB. All rights reserved.