java.lang.Comparable<BaseRecord>, PBRecordpublic class RouterStatePBImpl extends RouterState implements PBRecord
ERROR_MSG_CREATION_TIME_NEGATIVE, ERROR_MSG_MODIFICATION_TIME_NEGATIVE| Constructor | Description |
|---|---|
RouterStatePBImpl() |
|
RouterStatePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RouterRecordProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAddress() |
|
java.lang.String |
getAdminAddress() |
|
java.lang.String |
getCompileInfo() |
|
long |
getDateCreated() |
Get the creation time for the record.
|
long |
getDateModified() |
Get the modification time for the record.
|
long |
getDateStarted() |
|
org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RouterRecordProto |
getProto() |
Get the protocol for the record.
|
StateStoreVersion |
getStateStoreVersion() |
|
RouterServiceState |
getStatus() |
|
java.lang.String |
getVersion() |
|
void |
readInstance(java.lang.String base64String) |
Populate this record with serialized data.
|
void |
setAddress(java.lang.String address) |
|
void |
setAdminAddress(java.lang.String adminAddress) |
|
void |
setCompileInfo(java.lang.String info) |
|
void |
setDateCreated(long time) |
Set the creation time for the record.
|
void |
setDateModified(long time) |
Set the modification time for the record.
|
void |
setDateStarted(long dateStarted) |
|
void |
setProto(org.apache.hadoop.thirdparty.protobuf.Message proto) |
Set the protocol for the record.
|
void |
setStateStoreVersion(StateStoreVersion version) |
|
void |
setStatus(RouterServiceState newStatus) |
|
void |
setVersion(java.lang.String version) |
checkExpired, compareTo, getDeletionMs, getExpirationMs, getPrimaryKeys, getRouterId, isExpired, like, newInstance, newInstance, setDeletionMs, setExpirationMs, toString, validateequals, generateMashupKey, getPrimaryKey, hashCode, hasOtherFields, init, shouldBeDeletedpublic RouterStatePBImpl()
public RouterStatePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RouterRecordProto proto)
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RouterRecordProto 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 void setAddress(java.lang.String address)
setAddress in class RouterStatepublic java.lang.String getAddress()
getAddress in class RouterStatepublic void setStateStoreVersion(StateStoreVersion version)
setStateStoreVersion in class RouterStatepublic StateStoreVersion getStateStoreVersion() throws java.io.IOException
getStateStoreVersion in class RouterStatejava.io.IOExceptionpublic RouterServiceState getStatus()
getStatus in class RouterStatepublic void setStatus(RouterServiceState newStatus)
setStatus in class RouterStatepublic java.lang.String getVersion()
getVersion in class RouterStatepublic void setVersion(java.lang.String version)
setVersion in class RouterStatepublic java.lang.String getCompileInfo()
getCompileInfo in class RouterStatepublic void setCompileInfo(java.lang.String info)
setCompileInfo in class RouterStatepublic void setDateStarted(long dateStarted)
setDateStarted in class RouterStatepublic long getDateStarted()
getDateStarted in class RouterStatepublic 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 BaseRecordpublic void setAdminAddress(java.lang.String adminAddress)
setAdminAddress in class RouterStatepublic java.lang.String getAdminAddress()
getAdminAddress in class RouterStateCopyright © 2008–2025 Apache Software Foundation. All rights reserved.