Interface ResourceVersion<R>
- Type Parameters:
R- Type ofResourceVersion
- All Superinterfaces:
Comparable<R>,Serializable
- All Known Implementing Classes:
IntegerResourceVersion,StringResourceVersion
Resource version for specific state handle on the underlying storage. The implementation also
needs to implement the
Comparable interface so that we could compare the resource
versions.-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck whether the state handle is existing.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
isExisting
boolean isExisting()Check whether the state handle is existing.- Returns:
- true if state handle exists with current
ResourceVersionon external storage. Or false it does not exist.
-