public class FetchRequest extends KafkaRequestOrResponse implements FetchRequestTrafficPayload
| 限定符和类型 | 类和说明 |
|---|---|
static class |
FetchRequest.PartitionRequest |
TYPE| 构造器和说明 |
|---|
FetchRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
describe(boolean details) |
byte |
getIsolationLevel() |
int |
getMaxBytes() |
int |
getMaxWait() |
int |
getMinBytes() |
Map<String,List<FetchRequest.PartitionRequest>> |
getPartitionRequests() |
int |
getReplicaId() |
Traffic |
getTraffic() |
void |
setClientId(String clientId) |
void |
setIsolationLevel(byte isolationLevel) |
void |
setMaxBytes(int maxBytes) |
void |
setMaxWait(int maxWait) |
void |
setMinBytes(int minBytes) |
void |
setPartitionRequests(Map<String,List<FetchRequest.PartitionRequest>> partitionRequests) |
void |
setReplicaId(int replicaId) |
String |
toString() |
int |
type() |
getClientId, getCorrelationId, getDirection, getThrottleTimeMs, getVersion, setCorrelationId, setDirection, setThrottleTimeMs, setVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTrafficTypepublic Traffic getTraffic()
getTraffic 在接口中 TrafficPayloadpublic int getMinBytes()
public void setMinBytes(int minBytes)
public int getMaxBytes()
public void setMaxBytes(int maxBytes)
public byte getIsolationLevel()
public void setIsolationLevel(byte isolationLevel)
public void setPartitionRequests(Map<String,List<FetchRequest.PartitionRequest>> partitionRequests)
public void setClientId(String clientId)
setClientId 在类中 KafkaRequestOrResponsepublic Map<String,List<FetchRequest.PartitionRequest>> getPartitionRequests()
public int getMaxWait()
public void setMaxWait(int maxWait)
public int getReplicaId()
public void setReplicaId(int replicaId)
public int type()
type 在接口中 org.joyqueue.network.transport.command.Typepublic String describe(boolean details)
Copyright © 2020 Joyqueue Community. All rights reserved.