T - Type of result returned from the function. May differ from the key and value types
of any involved regions.public interface Function<T>
| 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.
|
List<T> executeOnRegion(Object arguments, String regionName, Object... keyFilters) throws IOException
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.List<T> executeOnMember(Object arguments, String... members) throws IOException
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.List<T> executeOnGroup(Object arguments, String... groups) throws IOException
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.