@Override protected Matching getMatchingModel(Request rq) { synchronized (this) { //matchings are not re-entrant, so we need to make a new one each time. Cache_Matching.clear(); return super.getMatchingModel(rq); } } }
Matching matching = getMatchingModel(rq); if (logger.isDebugEnabled()){ logger.debug("weighting model: " + wmodel.getInfo());
Matching matching = getMatchingModel(rq); if (logger.isDebugEnabled()){ logger.debug("weighting model: " + wmodel.getInfo());
@Override protected Matching getMatchingModel(Request rq) { synchronized (this) { //matchings are not re-entrant, so we need to make a new one each time. Cache_Matching.clear(); return super.getMatchingModel(rq); } } }