| Constructor and Description |
|---|
ProtobufFunction(String functionId,
org.apache.geode.experimental.driver.ProtobufChannel channel,
org.apache.geode.experimental.driver.ValueEncoder valueEncoder) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
executeOnGroup(Object arguments,
String... groups)
Executes this function with the specified arguments on the specified groups.
|
List<T> |
executeOnMember(Object arguments,
String... members)
Executes this function with the specified arguments on the specified members.
|
List<T> |
executeOnRegion(Object arguments,
String regionName,
Object... keyFilters)
Executes this function with the specified arguments on the specified region.
|
public ProtobufFunction(String functionId, org.apache.geode.experimental.driver.ProtobufChannel channel, org.apache.geode.experimental.driver.ValueEncoder valueEncoder)
public List<T> executeOnRegion(Object arguments, String regionName, Object... keyFilters) throws IOException
FunctionexecuteOnRegion in interface Function<T>arguments - Object encapsulating all the arguments to this execution of the function.regionName - Name of the region.keyFilters - Optional list of keys.IOException - If an error occurred communicating with the distributed system.public List<T> executeOnMember(Object arguments, String... members) throws IOException
FunctionexecuteOnMember in interface Function<T>arguments - Object encapsulating all the arguments to this execution of the function.members - Optional list of member names.IOException - If an error occurred communicating with the distributed system.public List<T> executeOnGroup(Object arguments, String... groups) throws IOException
FunctionexecuteOnGroup in interface Function<T>arguments - Object encapsulating all the arguments to this execution of the function.groups - Optional list of group names.IOException - If an error occurred communicating with the distributed system.