Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewindable event handler separation #440

Merged

Commits on Oct 26, 2022

  1. Split EventHandler interface into two for rewindable and non-rewind…

    …able
    
    Using `EventHandler::setSequenceCallback` with the newly added concept of
    Rewinding in the `BatchEventProcessor` is not going to go well as an
    `EventHandler` can change the sequence before a rewind.
    
    Non-rewindable `EventHandler` implementations are not able to throw a
    `RewindableException`.
    Palmr committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    dfc82d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. Javadoc correctness

    Palmr committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    922d02f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    256e4f8 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Try behaviour over booleans

    Palmr committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    6013489 View commit details
    Browse the repository at this point in the history
  2. Move mutable rewind strategy to builder where it can be scoped to onl…

    …y the rewind supporting build method
    Palmr committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    d9fefdd View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/master' into rewindable-event-ha…

    …ndler-separation2
    
    # Conflicts:
    #	src/main/java/com/lmax/disruptor/BatchEventProcessor.java
    #	src/main/java/com/lmax/disruptor/EventHandler.java
    
    # Manually fixed up:
    #	src/main/java/com/lmax/disruptor/EventHandlerBase.java
    Palmr committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    ea61e82 View commit details
    Browse the repository at this point in the history
  4. Revert mistaken test reformatting

    An overly keen find & replace made more changes than necessary while changing from direct BatchEventProcessor construction to using the builder.
    Palmr committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    63d5af7 View commit details
    Browse the repository at this point in the history