@Target(value={FIELD,METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface AggregateVersion
Field
or Method
annotation that indicates the member contains
the value that represents the version of the Aggregate, used for optimistic locking, as well as state validation for
commands.Copyright © 2010–2024. All rights reserved.