Annotation Interface Cached.Shared

Enclosing class:
Cached

@Retention(CLASS) @Target(PARAMETER) public static @interface Cached.Shared
Allows sharing between multiple Cached parameters between multiple specializations or exported library messages. If no sharing is desired then the cached parameter can be annotated with exclusive. The DSL will indicate sharing opportunities to the user by showing a warning.
Since:
19.0
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the sharing group of the shared cached element.
  • Element Details

    • value

      String value
      Specifies the sharing group of the shared cached element. If not specified then the parameter name will be used as a group.
      Since:
      19.0
      Default:
      ""