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, write
public PartitionStatsRequest(Collection<PartitionStats> partitionStats)
partitionStats
- Partition stats to sendpublic PartitionStatsRequest()
public void doRequest(MasterGlobalCommHandler commHandler)
MasterRequest
doRequest
in interface MasterRequest
commHandler
- Master communication handlerpublic RequestType getType()
WritableRequest
getType
in class WritableRequest
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.