public class ProtobufFunctionService extends Object implements FunctionService
Constructor and Description |
---|
ProtobufFunctionService(org.apache.geode.experimental.driver.ProtobufChannel channel,
org.apache.geode.experimental.driver.ValueEncoder valueEncoder) |
Modifier and Type | Method and Description |
---|---|
<T> Function |
newFunction(String functionId)
Creates a new object that allows the execution of functions in the distributed system.
|
public ProtobufFunctionService(org.apache.geode.experimental.driver.ProtobufChannel channel, org.apache.geode.experimental.driver.ValueEncoder valueEncoder)
public <T> Function newFunction(String functionId)
FunctionService
newFunction
in interface FunctionService
T
- Type of result returned from the function. May differ from the key and values types
of any involved regions.functionId
- Unique ID of the function that has already been registered in the distributed
system.