CommandDtoProcessor (interface)

Refine (or possibly ignore) a command when replicating from primary to secondary.

API

CommandDtoProcessor.java
interface CommandDtoProcessor {
  CommandDto process(CommandDto commandDto)     (1)
}
1 process(CommandDto)

The implementation can if necessary refine or alter the CommandDto to be replicated from primary to secondary.

Members

process(CommandDto)

The implementation can if necessary refine or alter the CommandDto to be replicated from primary to secondary.

That said, the most common use case is to return null , which results in the command effectively being ignore.