Class AbortEvent

    • Nested Class Summary

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

      Constructors 
      Constructor Description
      AbortEvent​(java.lang.String scope, java.lang.String stream, int epoch, java.util.UUID txid, long requestId)  
    • Constructor Detail

      • AbortEvent

        @ConstructorProperties({"scope","stream","epoch","txid","requestId"})
        public AbortEvent​(java.lang.String scope,
                          java.lang.String stream,
                          int epoch,
                          java.util.UUID txid,
                          long requestId)
    • 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.
      • fromBytes

        public static AbortEvent fromBytes​(byte[] data)
      • toBytes

        public byte[] toBytes()
      • builder

        public static io.pravega.shared.controller.event.AbortEvent.AbortEventBuilder builder()
      • getScope

        public java.lang.String getScope()
      • getStream

        public java.lang.String getStream()
      • getEpoch

        public int getEpoch()
      • getTxid

        public java.util.UUID getTxid()
      • getRequestId

        public long getRequestId()
      • 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