public class PartitionStatsRequest extends WritableRequest implements MasterRequest
conf, UNKNOWN_SIZE| Constructor and Description |
|---|
PartitionStatsRequest()
Constructor for reflection
|
PartitionStatsRequest(Collection<PartitionStats> partitionStats)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
doRequest(MasterGlobalCommHandler commHandler)
Execute the request
|
RequestType |
getType()
Get the type of the request
|
getClientId, getConf, getRequestId, getSerializedSize, readFields, setClientId, setConf, setRequestId, writepublic PartitionStatsRequest(Collection<PartitionStats> partitionStats)
partitionStats - Partition stats to sendpublic PartitionStatsRequest()
public void doRequest(MasterGlobalCommHandler commHandler)
MasterRequestdoRequest in interface MasterRequestcommHandler - Master communication handlerpublic RequestType getType()
WritableRequestgetType in class WritableRequestCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.