java.lang.Comparable<BaseRecord>StateStoreVersionPBImplpublic abstract class StateStoreVersion extends BaseRecord
ERROR_MSG_CREATION_TIME_NEGATIVE, ERROR_MSG_MODIFICATION_TIME_NEGATIVE| Constructor | Description |
|---|---|
StateStoreVersion() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getDateCreated() |
Get the creation time for the record.
|
long |
getDateModified() |
Get the modification time for the record.
|
long |
getExpirationMs() |
Get the expiration time for the record.
|
abstract long |
getMembershipVersion() |
|
abstract long |
getMountTableVersion() |
|
java.util.SortedMap<java.lang.String,java.lang.String> |
getPrimaryKeys() |
Map of primary key names to values for the record.
|
static StateStoreVersion |
newInstance() |
|
static StateStoreVersion |
newInstance(long membershipVersion,
long mountTableVersion) |
|
void |
setDateCreated(long time) |
Set the creation time for the record.
|
void |
setDateModified(long time) |
Set the modification time for the record.
|
abstract void |
setMembershipVersion(long version) |
|
abstract void |
setMountTableVersion(long version) |
|
java.lang.String |
toString() |
checkExpired, compareTo, equals, generateMashupKey, getDeletionMs, getPrimaryKey, hashCode, hasOtherFields, init, isExpired, like, shouldBeDeleted, validatepublic static StateStoreVersion newInstance()
public static StateStoreVersion newInstance(long membershipVersion, long mountTableVersion)
public abstract long getMembershipVersion()
public abstract void setMembershipVersion(long version)
public abstract long getMountTableVersion()
public abstract void setMountTableVersion(long version)
public java.util.SortedMap<java.lang.String,java.lang.String> getPrimaryKeys()
BaseRecordgetPrimaryKeys in class BaseRecordpublic long getExpirationMs()
BaseRecordgetExpirationMs in class BaseRecordpublic 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 java.lang.String toString()
toString in class BaseRecordCopyright © 2008–2025 Apache Software Foundation. All rights reserved.