Interface Revision

  • All Superinterfaces:
    java.lang.Comparable<Revision>

    public interface Revision
    extends java.lang.Comparable<Revision>
    A maker for a version of a Revisioned object.
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.pravega.client.state.impl.RevisionImpl asImpl()
      Returns the actual instance.
      static Revision fromString​(java.lang.String revision)
      Deserializes the revision from its serialized from obtained from calling toString().
      java.lang.String toString()
      Serializes the Revision to a human readable string.
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Method Detail

      • asImpl

        io.pravega.client.state.impl.RevisionImpl asImpl()
        Returns the actual instance. This method prevents other classes from implementing this interface.
        Returns:
        Implementation of the revision interface
      • toString

        java.lang.String toString()
        Serializes the Revision to a human readable string.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the Revision.
      • fromString

        static Revision fromString​(java.lang.String revision)
        Deserializes the revision from its serialized from obtained from calling toString().
        Parameters:
        revision - A serialized revision.
        Returns:
        The Revision object.