Class SegmentNotification


  • public class SegmentNotification
    extends Notification
    Class to represent a segment notification. This contains the current number of segments and the current number of readers.
    • Method Detail

      • getNumOfSegments

        public int getNumOfSegments()
      • getNumOfReaders

        public int getNumOfReaders()
      • setNumOfSegments

        public void setNumOfSegments​(int numOfSegments)
      • setNumOfReaders

        public void setNumOfReaders​(int numOfReaders)
      • equals

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

        protected boolean canEqual​(java.lang.Object other)
        Overrides:
        canEqual in class Notification