Annotation Type DynamoDbVersionAttribute
-
@Target(METHOD) @Retention(RUNTIME) public @interface DynamoDbVersionAttribute
Denotes this attribute as recording the version record number to be used for optimistic locking. Every time a record with this attribute is written to the database it will be incremented and a condition added to the request to check for an exact match of the old version.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description long
incrementBy
The amount to increment the version by with each update.long
startAt
The starting value for the version attribute.
-