Annotation Type CoherenceMap


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    @Inherited
    public @interface CoherenceMap
    Optional marker for Coherence repositories where the repository itself should use a cache name different from the name that is auto-selected by the runtime based on the repository class name.
    Since:
    3.0
    Author:
    Ryan Lubke
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Specifies the name of the Coherence NamedMap the annotated repository should use.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String session
      Specifies the name of the Session should be used to look up the NamedMap.
    • Element Detail

      • value

        java.lang.String value
        Specifies the name of the Coherence NamedMap the annotated repository should use.
        Returns:
        the name of the Coherence NamedMap the annotated repository should use
      • session

        java.lang.String session
        Specifies the name of the Session should be used to look up the NamedMap.
        Returns:
        the name of the Session should be used to look up the NamedMap
        Default:
        ""