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 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 protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetScope()Gets the scope of this stream.java.lang.StringgetStreamName()Gets the name of this stream (Not including the scope).inthashCode()java.lang.StringtoString()-
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:StreamGets the scope of this stream.
-
getStreamName
public java.lang.String getStreamName()
Description copied from interface:StreamGets the name of this stream (Not including the scope).- Specified by:
getStreamNamein interfaceStream- Returns:
- String a stream name
-
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
-
-