Class NoopEntryValidator

java.lang.Object
io.atomix.raft.zeebe.NoopEntryValidator
All Implemented Interfaces:
EntryValidator

public class NoopEntryValidator extends Object implements EntryValidator
  • Constructor Details

    • NoopEntryValidator

      public NoopEntryValidator()
  • Method Details

    • validateEntry

      public ValidationResult validateEntry(ApplicationEntry lastEntry, ApplicationEntry entry)
      Description copied from interface: EntryValidator
      Validates the current entry, which should be append to the log, and compares it with the last appended entry to ensure consistency. The ValidationResult reflects the outcome of the validation and holds an error message when the validation fails.
      Specified by:
      validateEntry in interface EntryValidator
      Parameters:
      lastEntry - the previous zeebe entry
      entry - the zeebe entry to be appended
      Returns:
      a ValidationResult containing the validation result and an error message, if it failed