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
      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
      String session
      Specifies the name of the Session should be used to look up the NamedMap.
    • Element Detail

      • value

        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

        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:
        ""