Class ReaderGroupState.ReaderGroupStateInit

    • Constructor Detail

      • ReaderGroupStateInit

        @ConstructorProperties({"config","startingSegments","endSegments","updatingConfig"})
        public ReaderGroupStateInit​(ReaderGroupConfig config,
                                    java.util.Map<SegmentWithRange,​java.lang.Long> startingSegments,
                                    java.util.Map<Segment,​java.lang.Long> endSegments,
                                    boolean updatingConfig)
    • Method Detail

      • create

        public ReaderGroupState create​(java.lang.String scopedStreamName,
                                       Revision revision)
        Description copied from interface: InitialUpdate
        Returns an object of type StateT with the provided revision.
        Specified by:
        create in interface InitialUpdate<ReaderGroupState>
        Parameters:
        scopedStreamName - The name of the stream that this state is associated with.
        revision - The revision to use
        Returns:
        A revisioned state object
      • builder

        public static io.pravega.client.stream.impl.ReaderGroupState.ReaderGroupStateInit.ReaderGroupStateInitBuilder builder()
      • getStartingSegments

        public java.util.Map<SegmentWithRange,​java.lang.Long> getStartingSegments()
      • getEndSegments

        public java.util.Map<Segment,​java.lang.Long> getEndSegments()
      • isUpdatingConfig

        public boolean isUpdatingConfig()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object