Class RefreshMountTableEntriesResponsePBImpl
java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.protocol.RefreshMountTableEntriesResponse
org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb.RefreshMountTableEntriesResponsePBImpl
- All Implemented Interfaces:
PBRecord
public class RefreshMountTableEntriesResponsePBImpl
extends RefreshMountTableEntriesResponse
implements PBRecord
Protobuf implementation of the state store API object
RefreshMountTableEntriesResponse.
-
Constructor Summary
ConstructorsConstructorDescriptionRefreshMountTableEntriesResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RefreshMountTableEntriesResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RefreshMountTableEntriesResponseProtogetProto()Get the protocol for the record.booleanvoidreadInstance(String base64String) Populate this record with serialized data.voidsetProto(org.apache.hadoop.thirdparty.protobuf.Message proto) Set the protocol for the record.voidsetResult(boolean result) Methods inherited from class org.apache.hadoop.hdfs.server.federation.store.protocol.RefreshMountTableEntriesResponse
newInstance
-
Constructor Details
-
RefreshMountTableEntriesResponsePBImpl
public RefreshMountTableEntriesResponsePBImpl() -
RefreshMountTableEntriesResponsePBImpl
public RefreshMountTableEntriesResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RefreshMountTableEntriesResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RefreshMountTableEntriesResponseProto getProto()Description copied from interface:PBRecordGet the protocol for the record. -
setProto
public void setProto(org.apache.hadoop.thirdparty.protobuf.Message proto) Description copied from interface:PBRecordSet the protocol for the record. -
readInstance
Description copied from interface:PBRecordPopulate this record with serialized data.- Specified by:
readInstancein interfacePBRecord- Parameters:
base64String- Serialized data in base64.- Throws:
IOException- If it cannot read the data.
-
getResult
public boolean getResult()- Specified by:
getResultin classRefreshMountTableEntriesResponse
-
setResult
public void setResult(boolean result) - Specified by:
setResultin classRefreshMountTableEntriesResponse
-