Package com.opengamma.bbg.referencedata.cache

Examples of com.opengamma.bbg.referencedata.cache.MongoDBInvalidFieldCachingReferenceDataProvider


    repo.registerLifecycle(underlying);
   
    MongoConnector mongoConnector = getMongoConnector();
    CacheManager cacheManager = getCacheManager();
    if (mongoConnector != null) {
      MongoDBInvalidFieldCachingReferenceDataProvider fieldCached = new MongoDBInvalidFieldCachingReferenceDataProvider(underlying, mongoConnector);
      return new MongoDBValueCachingReferenceDataProvider(fieldCached, mongoConnector);
     
    } else if (cacheManager != null) {
      ReferenceDataProvider fieldCached = new InMemoryInvalidFieldCachingReferenceDataProvider(underlying)// TODO: EHcached version
      return new EHValueCachingReferenceDataProvider(fieldCached, cacheManager);
View Full Code Here

TOP

Related Classes of com.opengamma.bbg.referencedata.cache.MongoDBInvalidFieldCachingReferenceDataProvider

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.