Class RGStreamCutRecord


  • public class RGStreamCutRecord
    extends java.lang.Object
    This is data class for storing stream cuts (starting and ending) related to a ReaderGroup.
    • Constructor Detail

      • RGStreamCutRecord

        public RGStreamCutRecord​(@NonNull
                                 @NonNull com.google.common.collect.ImmutableMap<java.lang.Long,​java.lang.Long> streamCut)
    • Method Detail

      • getStreamCut

        public java.util.Map<java.lang.Long,​java.lang.Long> getStreamCut()
      • toBytes

        public byte[] toBytes()
      • builder

        public static io.pravega.shared.controller.event.RGStreamCutRecord.RGStreamCutRecordBuilder builder()
      • 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