Interface ResourceVersion<R>

Type Parameters:
R - Type of ResourceVersion
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 the Comparable interface so that we could compare the resource versions.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check 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 ResourceVersion on external storage. Or false it does not exist.