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, writepublic AddressesAndPartitionsRequest()
public AddressesAndPartitionsRequest(AddressesAndPartitionsWritable addressesAndPartitions)
addressesAndPartitions - Addresses and partitionspublic void doRequest(ServerData serverData)
WorkerRequestdoRequest in interface WorkerRequestserverData - Accessible data that can be mutated per the requestpublic RequestType getType()
WritableRequestgetType in class WritableRequestCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.