Annotation Interface OnServer


@Retention(RUNTIME) @Target(TYPE) public @interface OnServer
Annotation to declare an interface as a GemFire OnServer Function Execution
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A reference to the cache.
    The bean name of the POJO interface defining the GemFire Function executions.
    The pool bean name (optional).
    Optional ResultCollector bean reference.
  • Element Details

    • id

      String id
      The bean name of the POJO interface defining the GemFire Function executions.
      Returns:
      the bean name (id) of the POJO interface defining the GemFire Function executions.
      Default:
      ""
    • cache

      String cache
      A reference to the cache.
      Returns:
      a bean name reference to the GemFire Cache.
      Default:
      ""
    • pool

      String pool
      The pool bean name (optional).
      Returns:
      an optional bean name of the GemFire Pool.
      Default:
      ""
    • resultCollector

      String resultCollector
      Optional ResultCollector bean reference.
      Returns:
      an optional bean name of the ResultCollector to process the Function results.
      Default:
      ""