Class PartitionEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PartitionEvent.Type
      Type of partition-related events.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PartitionEvent​(PartitionEvent.Type type, Partition subject, long time)
      Creates an event of a given type and for the specified partition and time.
    • Constructor Detail

      • PartitionEvent

        protected PartitionEvent​(PartitionEvent.Type type,
                                 Partition subject,
                                 long time)
        Creates an event of a given type and for the specified partition and time.
        Parameters:
        type - partition event type
        subject - event partition subject
        time - occurrence time
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object