public boolean replace(String key, Object value) { if (log.isDebugEnabled()) { log.debug("have replaced a pojo to cache : key is " + key); } return mcc.replace(key, value); }
public boolean replace(String key, Object value, Date expiry) { if (log.isDebugEnabled()) { log.debug( "have replaced a pojo to cache : key is " + key + ";expiryDate is " + expiry.toString()); } return mcc.replace(key, value, expiry); }