Package io.pravega.client.stream.impl
Class StreamSegmentSuccessors
- java.lang.Object
-
- io.pravega.client.stream.impl.StreamSegmentSuccessors
-
public class StreamSegmentSuccessors extends java.lang.Object
Successor segments of a given segment.
-
-
Constructor Summary
Constructors Constructor Description StreamSegmentSuccessors(java.util.Set<Segment> segments, java.lang.String delegationToken)
-
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)
java.lang.String
getDelegationToken()
java.util.Set<Segment>
getSegments()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
StreamSegmentSuccessors
@ConstructorProperties({"segments","delegationToken"}) public StreamSegmentSuccessors(java.util.Set<Segment> segments, java.lang.String delegationToken)
-
-
Method Detail
-
getSegments
public java.util.Set<Segment> getSegments()
-
getDelegationToken
public java.lang.String getDelegationToken()
-
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
-
-