Annotation Interface UniqueId


@Target(METHOD) @Retention(RUNTIME) public @interface UniqueId
Marks the method which returns a unique identifier for this resource.

The uniqueId should be guaranteed to not conflict with any other resource but should remain constant across versions.

This will be used as the key for locking resources (by default)