public class FetchRequest
extends java.lang.Object
Constructor and Description |
---|
FetchRequest(Partition Partition,
long offset,
int maxSizeInBytes) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxSizeInBytes() |
long |
getOffset() |
Partition |
getPartition() |
void |
setMaxSizeInBytes(int maxSizeInBytes) |
void |
setOffset(long offset) |
void |
setPartition(Partition partition) |
public FetchRequest(Partition Partition, long offset, int maxSizeInBytes)
public Partition getPartition()
public void setPartition(Partition partition)
public long getOffset()
public void setOffset(long offset)
public int getMaxSizeInBytes()
public void setMaxSizeInBytes(int maxSizeInBytes)