Package com.opengamma.core.historicaltimeseries.impl

Examples of com.opengamma.core.historicaltimeseries.impl.EHCachingHistoricalTimeSeriesSource


  //-------------------------------------------------------------------------
  @Override
  protected HistoricalTimeSeriesSource createObject() {
    HistoricalTimeSeriesSource source = new MasterHistoricalTimeSeriesSource(getHistoricalTimeSeriesMaster(), getHistoricalTimeSeriesResolver());
    if (getCacheManager() != null) {
      source = new EHCachingHistoricalTimeSeriesSource(source, getCacheManager());
    }
    return source;
  }
View Full Code Here


   * @return the source, not null
   */
  protected HistoricalTimeSeriesSource createSource(ComponentRepository repo, HistoricalTimeSeriesResolver resolver) {
    HistoricalTimeSeriesSource source = createSourcePreCaching(repo, resolver);
    if (getCacheManager() != null) {
      source = new EHCachingHistoricalTimeSeriesSource(source, getCacheManager());
    }
    return source;
  }
View Full Code Here

  }

  protected HistoricalTimeSeriesSource initHistoricalTimeSeriesSource(ComponentRepository repo) {
    HistoricalTimeSeriesSource source = new BloombergHistoricalTimeSeriesSource(getHistoricalTimeSeriesProvider());
    if (getCacheManager() != null) {
      source = new EHCachingHistoricalTimeSeriesSource(source, getCacheManager());
    }
    return source;
  }
View Full Code Here

TOP

Related Classes of com.opengamma.core.historicaltimeseries.impl.EHCachingHistoricalTimeSeriesSource

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.