public class ReadWritePayload extends IndexPayload
| Modifier and Type | Field and Description |
|---|---|
private long |
read |
private ByteBuffer |
submit |
| Constructor and Description |
|---|
ReadWritePayload(int groupidx,
long offidx,
long readlen,
ByteBuffer write) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
push(ByteBuffer into)
The only common method to all payload is the ability to push themselfs
into a byte buffer.
|
pushIndexprivate final long read
private final ByteBuffer submit
ReadWritePayload(int groupidx,
long offidx,
long readlen,
ByteBuffer write)
public ByteBuffer push(ByteBuffer into)
AdsPayloadpush in class AdsPayload