Class StringResourceVersion
java.lang.Object
org.apache.flink.runtime.persistence.StringResourceVersion
- All Implemented Interfaces:
Serializable,Comparable<StringResourceVersion>,ResourceVersion<StringResourceVersion>
ResourceVersion implementation with String value. The resource version in
Kubernetes is String. And they have same length, we could easily compare string.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(StringResourceVersion other) booleangetValue()inthashCode()booleanCheck whether the state handle is existing.static StringResourceVersiontoString()static StringResourceVersion
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<StringResourceVersion>
-
equals
-
hashCode
public int hashCode() -
isExisting
public boolean isExisting()Description copied from interface:ResourceVersionCheck whether the state handle is existing.- Specified by:
isExistingin interfaceResourceVersion<StringResourceVersion>- Returns:
- true if state handle exists with current
ResourceVersionon external storage. Or false it does not exist.
-
toString
-
getValue
-
notExisting
-
valueOf
-