Package io.pravega.client.admin
Class StreamInfo
- java.lang.Object
-
- io.pravega.client.admin.StreamInfo
-
@Beta public class StreamInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StreamInfo(java.lang.String scope, java.lang.String streamName, StreamCut tailStreamCut, StreamCut headStreamCut, boolean sealed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)StreamCutgetHeadStreamCut()StreamCutrepresenting the current HEAD of the stream.java.lang.StringgetScope()Scope name of the stream.java.lang.StringgetStreamName()Stream name.StreamCutgetTailStreamCut()StreamCutrepresenting the current TAIL of the stream.inthashCode()booleanisSealed()Indicates whether the Stream is sealed (true) or not (false).java.lang.StringtoString()
-
-
-
Method Detail
-
getScope
public java.lang.String getScope()
Scope name of the stream.- Returns:
- Scope name of the stream.
-
getStreamName
public java.lang.String getStreamName()
Stream name.- Returns:
- Stream name.
-
getTailStreamCut
public StreamCut getTailStreamCut()
StreamCutrepresenting the current TAIL of the stream.- Returns:
StreamCutrepresenting the current TAIL of the stream.
-
getHeadStreamCut
public StreamCut getHeadStreamCut()
StreamCutrepresenting the current HEAD of the stream.- Returns:
StreamCutrepresenting the current HEAD of the stream.
-
isSealed
public boolean isSealed()
Indicates whether the Stream is sealed (true) or not (false). If a stream is sealed, then no further Events can be written to it.- Returns:
- Indicates whether the Stream is sealed (true) or not (false).
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-