Package io.pravega.client.state
Interface Revision
- 
- All Superinterfaces:
- java.lang.Comparable<Revision>
 
 public interface Revision extends java.lang.Comparable<Revision> A maker for a version of aRevisionedobject.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description io.pravega.client.state.impl.RevisionImplasImpl()Returns the actual instance.static RevisionfromString(java.lang.String revision)Deserializes the revision from its serialized from obtained from callingtoString().java.lang.StringtoString()Serializes the Revision to a human readable string.
 
- 
- 
- 
Method Detail- 
asImplio.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
 
 - 
toStringjava.lang.String toString() Serializes the Revision to a human readable string.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- A string representation of the Revision.
 
 - 
fromStringstatic Revision fromString(java.lang.String revision) Deserializes the revision from its serialized from obtained from callingtoString().- Parameters:
- revision- A serialized revision.
- Returns:
- The Revision object.
 
 
- 
 
-