Examples of GemfireFunctionOperations


Examples of org.springframework.data.gemfire.function.execution.GemfireFunctionOperations

  public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
    createClientRegions(beanFactory);
  }

  private void createClientRegions(ConfigurableListableBeanFactory beanFactory) {
    GemfireFunctionOperations functionTemplate = new GemfireOnServersFunctionTemplate(cache);

    Iterable<String> regionNames = functionTemplate.executeAndExtract(new ListRegionsOnServerFunction());

    ClientRegionFactory<?, ?> clientRegionFactory = null;

    if (regionNames != null && regionNames.iterator().hasNext()) {
      clientRegionFactory = cache.createClientRegionFactory(ClientRegionShortcut.PROXY);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.