Interface ResourceVersion<R>
-
- Type Parameters:
R- Type ofResourceVersion
- All Superinterfaces:
Comparable<R>,Serializable
- All Known Implementing Classes:
IntegerResourceVersion,StringResourceVersion
public interface ResourceVersion<R> extends Comparable<R>, Serializable
Resource version for specific state handle on the underlying storage. The implementation also needs to implement theComparableinterface so that we could compare the resource versions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisExisting()Check whether the state handle is existing.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
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.
-
-