Examples of EHCachingFinancialSecuritySource


Examples of com.opengamma.financial.security.EHCachingFinancialSecuritySource

  //-------------------------------------------------------------------------
  @Override
  protected FinancialSecuritySource createObject() {
    FinancialSecuritySource source = new MasterFinancialSecuritySource(getSecurityMaster());
    if (getCacheManager() != null) {
      source = new EHCachingFinancialSecuritySource(source, getCacheManager());
    }
    return source;
  }
View Full Code Here

Examples of com.opengamma.financial.security.EHCachingFinancialSecuritySource

    // the RedisCachingFinancialSecuritySource.
    /*JedisPool jedisPool = new JedisPool("localhost");
    source = new RedisCachingFinancialSecuritySource(source, jedisPool, "", OpenGammaFudgeContext.getInstance());*/
   
    if (getCacheManager() != null) {
      source = new EHCachingFinancialSecuritySource(source, getCacheManager());
    }
   
    if (getUnderlyingClassifier() != null) {
      ComponentInfo info = new ComponentInfo(SecuritySource.class, getUnderlyingClassifier());
      info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
View Full Code Here

Examples of com.opengamma.financial.security.EHCachingFinancialSecuritySource

   * @return the financial security source, not null
   */
  protected FinancialSecuritySource createFinancialSecuritySource(ComponentRepository repo) {
    FinancialSecuritySource source = new MasterFinancialSecuritySource(getSecurityMaster());
    if (getCacheManager() != null) {
      source = new EHCachingFinancialSecuritySource(source, getCacheManager());
    }
    return source;
  }
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.