Search in sources :

Example 1 with LocalDataSetFunction

use of org.apache.geode.internal.cache.functions.LocalDataSetFunction in project geode by apache.

the class LDSRoutingObject method registerFunction.

public static void registerFunction() {
    Function function1 = new LocalDataSetFunction(false);
    Function function2 = new LocalDataSetFunction(true);
    FunctionService.registerFunction(function1);
    FunctionService.registerFunction(function2);
}
Also used : Function(org.apache.geode.cache.execute.Function) LocalDataSetFunction(org.apache.geode.internal.cache.functions.LocalDataSetFunction) LocalDataSetFunction(org.apache.geode.internal.cache.functions.LocalDataSetFunction)

Aggregations

Function (org.apache.geode.cache.execute.Function)1 LocalDataSetFunction (org.apache.geode.internal.cache.functions.LocalDataSetFunction)1