public class AddressesAndPartitionsRequest extends WritableRequest implements WorkerRequest
conf, UNKNOWN_SIZE
Constructor and Description |
---|
AddressesAndPartitionsRequest()
Constructor for reflection
|
AddressesAndPartitionsRequest(AddressesAndPartitionsWritable addressesAndPartitions)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
doRequest(ServerData serverData)
Execute the request
|
RequestType |
getType()
Get the type of the request
|
getClientId, getConf, getRequestId, getSerializedSize, readFields, setClientId, setConf, setRequestId, write
public AddressesAndPartitionsRequest()
public AddressesAndPartitionsRequest(AddressesAndPartitionsWritable addressesAndPartitions)
addressesAndPartitions
- Addresses and partitionspublic void doRequest(ServerData serverData)
WorkerRequest
doRequest
in interface WorkerRequest
serverData
- Accessible data that can be mutated per the requestpublic RequestType getType()
WritableRequest
getType
in class WritableRequest
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.