public static Execution onServer(Pool pool) {
    return getFunctionExecutionService().onServer(pool);
  }
Returns an {@link Execution} object that can be used to execute a data independent function on
a server in the provided {@link Pool}.
<p>
If the server goes down while dispatching or executing the function, an Exception will be
thrown.

@param pool from which to chose a server for execution
@return an {@link Execution} object that can be used to execute a data independent function on
        a server in the provided {@link Pool}
@throws FunctionException if Pool instance passed in is null
@since GemFire 6.0
geode-core/src/main/java/org/apache/geode/cache/execute/FunctionService.java