Package com.opengamma.util

Examples of com.opengamma.util.ExecutorServiceFactoryBean


    bean.setUserConfigMaster(getUserConfigMaster());
    bean.setSnapshotMaster(getSnapshotMaster());
    bean.setPortfolioAggregators(getPortfolioAggregationFunctions());
    bean.setUser(getUser());
    bean.setFudgeContext(getFudgeContext());
    ExecutorServiceFactoryBean execBean = new ExecutorServiceFactoryBean();
    execBean.setStyle(Style.CACHED);
    bean.setExecutorService(execBean.getObjectCreating());
   
    WebAnalyticsResource resource = new WebAnalyticsResource(bean);
    repo.registerServletContextAware(resource);
    repo.getRestComponents().publishResource(resource);
  }
View Full Code Here


                                                                                          10000))));
    }
    _searchRequestCache = cacheManager.getCache(name + CACHE_NAME_SUFFIX);

    // Async prefetch executor service
    ExecutorServiceFactoryBean execBean = new ExecutorServiceFactoryBean();
    execBean.setNumberOfThreads(MAX_PREFETCH_CONCURRENCY);
    execBean.setStyle(ExecutorServiceFactoryBean.Style.CACHED);
    _executorService = execBean.getObjectCreating();
  }
View Full Code Here

TOP

Related Classes of com.opengamma.util.ExecutorServiceFactoryBean

Copyright © 2018 www.massapicom. 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.