Class CommitEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CommitEvent.Serializer  
    • Constructor Summary

      Constructors 
      Constructor Description
      CommitEvent​(java.lang.String scope, java.lang.String stream, int epoch)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static io.pravega.shared.controller.event.CommitEvent.CommitEventBuilder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      int getEpoch()  
      java.lang.String getKey()
      Method to get routing key for the event.
      java.lang.String getScope()  
      java.lang.String getStream()  
      int hashCode()  
      java.util.concurrent.CompletableFuture<java.lang.Void> process​(RequestProcessor processor)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CommitEvent

        @ConstructorProperties({"scope","stream","epoch"})
        public CommitEvent​(java.lang.String scope,
                           java.lang.String stream,
                           int epoch)
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Description copied from interface: ControllerEvent
        Method to get routing key for the event.
        Specified by:
        getKey in interface ControllerEvent
        Returns:
        return the routing key that should be used.
      • builder

        public static io.pravega.shared.controller.event.CommitEvent.CommitEventBuilder builder()
      • getScope

        public java.lang.String getScope()
      • getStream

        public java.lang.String getStream()
      • getEpoch

        public int getEpoch()
      • 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