Revision 45479
Added by Alessia Bardi over 7 years ago
MongoPublisherStoreDAO.java | ||
---|---|---|
188 | 188 |
|
189 | 189 |
final Element elem = this.mongoOaistoreCache.get(k); |
190 | 190 |
if (elem != null) { |
191 |
log.debug("Store retreived from cache and alwaysNewRecord is" + this.alwaysNewRecord);
|
|
191 |
log.debug("Store retrieved from cache and alwaysNewRecord is" + this.alwaysNewRecord);
|
|
192 | 192 |
final MongoPublisherStore store = (MongoPublisherStore) elem.getObjectValue(); |
193 | 193 |
store.setAlwaysNewRecord(this.alwaysNewRecord); |
194 |
log.debug(store); |
|
194 | 195 |
return store; |
195 | 196 |
} else { |
196 |
log.debug("Store retreived, cache miss, alwaysNewRecord is" + this.alwaysNewRecord);
|
|
197 |
log.debug("Store retrieved, cache miss, alwaysNewRecord is" + this.alwaysNewRecord);
|
|
197 | 198 |
log.fatal("Not using cache to create oaistore from dbObject: " + k); |
198 | 199 |
final MongoPublisherStore store = new MongoPublisherStore(storeId, mdFormat, mdInterpreation, mdLayout, db.getCollection(storeId, DBObject.class), |
199 | 200 |
this.configuration.getFields(mdFormat, mdInterpreation, mdLayout), this.cqlTranslator, this.recordInfoGenerator, |
Also available in: Unified diff
More logs for debug