Package io.pravega.client.state
Interface Revisioned
-
public interface Revisioned
An object that has a revision associated with it. It is assumed that if two objects have the same streamName, and revision, that they are equal. i.e. a.equals(b) should return true.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Revision
getRevision()
Returns the revision corresponding to this object.java.lang.String
getScopedStreamName()
Returns the scoped name of this stream used to persist this object.
-
-
-
Method Detail
-
getScopedStreamName
java.lang.String getScopedStreamName()
Returns the scoped name of this stream used to persist this object.- Returns:
- String indicating full stream name including its scope appended to it
-
getRevision
Revision getRevision()
Returns the revision corresponding to this object.- Returns:
- Revision object
-
-