java.lang.Comparable<BaseRecord>, PBRecordpublic class DisabledNameservicePBImpl extends DisabledNameservice implements PBRecord
DisabledNameservice record.ERROR_MSG_CREATION_TIME_NEGATIVE, ERROR_MSG_MODIFICATION_TIME_NEGATIVE| Constructor | Description |
|---|---|
DisabledNameservicePBImpl() |
|
DisabledNameservicePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.DisabledNameserviceRecordProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getDateCreated() |
Get the creation time for the record.
|
long |
getDateModified() |
Get the modification time for the record.
|
java.lang.String |
getNameserviceId() |
Get the identifier of the name service to disable.
|
org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.DisabledNameserviceRecordProto |
getProto() |
Get the protocol for the record.
|
void |
readInstance(java.lang.String base64String) |
Populate this record with serialized data.
|
void |
setDateCreated(long time) |
Set the creation time for the record.
|
void |
setDateModified(long time) |
Set the modification time for the record.
|
void |
setNameserviceId(java.lang.String nameServiceId) |
Set the identifier of the name service to disable.
|
void |
setProto(org.apache.hadoop.thirdparty.protobuf.Message proto) |
Set the protocol for the record.
|
getExpirationMs, getPrimaryKeys, hasOtherFields, newInstance, newInstancecheckExpired, compareTo, equals, generateMashupKey, getDeletionMs, getPrimaryKey, hashCode, init, isExpired, like, shouldBeDeleted, toString, validatepublic DisabledNameservicePBImpl()
public DisabledNameservicePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.DisabledNameserviceRecordProto proto)
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.DisabledNameserviceRecordProto getProto()
PBRecordpublic void setProto(org.apache.hadoop.thirdparty.protobuf.Message proto)
PBRecordpublic void readInstance(java.lang.String base64String)
throws java.io.IOException
PBRecordreadInstance in interface PBRecordbase64String - Serialized data in base64.java.io.IOException - If it cannot read the data.public java.lang.String getNameserviceId()
DisabledNameservicegetNameserviceId in class DisabledNameservicepublic void setNameserviceId(java.lang.String nameServiceId)
DisabledNameservicesetNameserviceId in class DisabledNameservicenameServiceId - Identifier of the name service to disable.public void setDateModified(long time)
BaseRecordsetDateModified in class BaseRecordtime - Modification time of the record.public long getDateModified()
BaseRecordgetDateModified in class BaseRecordpublic void setDateCreated(long time)
BaseRecordsetDateCreated in class BaseRecordtime - Creation time of the record.public long getDateCreated()
BaseRecordgetDateCreated in class BaseRecordCopyright © 2008–2025 Apache Software Foundation. All rights reserved.