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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
StreamCut
getHeadStreamCut()
StreamCut
representing the current HEAD of the stream.java.lang.String
getScope()
Scope name of the stream.java.lang.String
getStreamName()
Stream name.StreamCut
getTailStreamCut()
StreamCut
representing the current TAIL of the stream.int
hashCode()
boolean
isSealed()
Indicates whether the Stream is sealed (true) or not (false).java.lang.String
toString()
-
-
-
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()
StreamCut
representing the current TAIL of the stream.- Returns:
StreamCut
representing the current TAIL of the stream.
-
getHeadStreamCut
public StreamCut getHeadStreamCut()
StreamCut
representing the current HEAD of the stream.- Returns:
StreamCut
representing 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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-