@Override
  public CliFunctionResult executeFunction(FunctionContext<Object[]> context) {
    try {
      List<String> driverNames;
      driverNames = (getDriverJarUtil()).getRegisteredDriverNames();
      return new CliFunctionResult(context.getMemberName(), driverNames,
          createMessageFromDriversList(driverNames));
    } catch (Exception ex) {
      return new CliFunctionResult(context.getMemberName(), CliFunctionResult.StatusState.ERROR,
          ex.getMessage());
    }
  }
The Object[] must always be of size two.
The first element must be a RegionMapping.
The second element must be a Boolean that is true if synchronous.
geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/ListDriversFunction.java