Package io.pravega.client.stream.impl
Class StreamImpl
- java.lang.Object
-
- io.pravega.client.stream.impl.StreamImpl
-
- All Implemented Interfaces:
StreamInternal
,Stream
,java.io.Serializable
public final class StreamImpl extends java.lang.Object implements StreamInternal, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamImpl(java.lang.String scope, java.lang.String streamName)
Creates a new instance of the Stream class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getScope()
Gets the scope of this stream.java.lang.String
getStreamName()
Gets the name of this stream (Not including the scope).int
hashCode()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.pravega.client.stream.impl.StreamInternal
getScopedName
-
-
-
-
Method Detail
-
getScope
public java.lang.String getScope()
Description copied from interface:Stream
Gets the scope of this stream.
-
getStreamName
public java.lang.String getStreamName()
Description copied from interface:Stream
Gets the name of this stream (Not including the scope).- Specified by:
getStreamName
in interfaceStream
- Returns:
- String a stream name
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-