Search in sources :

Example 1 with RecreateCacheFunction

use of org.apache.geode.management.internal.configuration.functions.RecreateCacheFunction in project geode by apache.

the class ExportImportClusterConfigurationCommands method reCreateCache.

private CliFunctionResult reCreateCache(DistributedMember server) {
    ResultCollector rc = CliUtil.executeFunction(new RecreateCacheFunction(), null, server);
    List<CliFunctionResult> results = (List<CliFunctionResult>) rc.getResult();
    return results.get(0);
}
Also used : CliFunctionResult(org.apache.geode.management.internal.cli.functions.CliFunctionResult) List(java.util.List) ResultCollector(org.apache.geode.cache.execute.ResultCollector) RecreateCacheFunction(org.apache.geode.management.internal.configuration.functions.RecreateCacheFunction)

Aggregations

List (java.util.List)1 ResultCollector (org.apache.geode.cache.execute.ResultCollector)1 CliFunctionResult (org.apache.geode.management.internal.cli.functions.CliFunctionResult)1 RecreateCacheFunction (org.apache.geode.management.internal.configuration.functions.RecreateCacheFunction)1