Package io.atomix.raft.zeebe
Class NoopEntryValidator
java.lang.Object
io.atomix.raft.zeebe.NoopEntryValidator
- All Implemented Interfaces:
EntryValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateEntry(ApplicationEntry lastEntry, ApplicationEntry entry) Validates the current entry, which should be append to the log, and compares it with the last appended entry to ensure consistency.
-
Constructor Details
-
NoopEntryValidator
public NoopEntryValidator()
-
-
Method Details
-
validateEntry
Description copied from interface:EntryValidatorValidates 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:
validateEntryin interfaceEntryValidator- Parameters:
lastEntry- the previous zeebe entryentry- the zeebe entry to be appended- Returns:
- a ValidationResult containing the validation result and an error message, if it failed
-