예제 #1
0
  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);
  }
예제 #2
0
  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);
  }