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