Package io.pravega.client.stream
Class ReaderSegmentDistribution
- java.lang.Object
-
- io.pravega.client.stream.ReaderSegmentDistribution
-
public class ReaderSegmentDistribution extends java.lang.Object
Describes current distribution of number of segments assigned to each reader in the reader group. It contains a count of unassigned segments and a map of readerId to segment count.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReaderSegmentDistribution.ReaderSegmentDistributionBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReaderSegmentDistribution.ReaderSegmentDistributionBuilder
builder()
java.util.Map<java.lang.String,java.lang.Integer>
getReaderSegmentDistribution()
int
getUnassignedSegments()
-
-
-
Method Detail
-
builder
public static ReaderSegmentDistribution.ReaderSegmentDistributionBuilder builder()
-
getReaderSegmentDistribution
public java.util.Map<java.lang.String,java.lang.Integer> getReaderSegmentDistribution()
-
getUnassignedSegments
public int getUnassignedSegments()
-
-