org.springframework.data.gemfire.function.annotation
Annotation Type OnServers


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface OnServers

Annotation to declare an interface as a GemFire OnServers Function Execution


Optional Element Summary
 String cache
          A reference to the cache.
 String id
          The bean name of the POJO interface defining the GemFire Function executions.
 String pool
          The pool bean name (optional).
 String resultCollector
          Optional ResultCollector bean reference.
 

id

public abstract 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

public abstract String cache
A reference to the cache.

Returns:
a bean name reference to the GemFire Cache.
Default:
""

pool

public abstract String pool
The pool bean name (optional).

Returns:
an optional bean name of the GemFire Pool.
Default:
""

resultCollector

public abstract String resultCollector
Optional ResultCollector bean reference.

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