code: @Override
      public void set(String key, Object entry) {
          if (entry instanceof CacheEntry) {
              CacheEntry ce = (CacheEntry) entry;
              set(key, ce, ce.getExpireAfterWrite(), ce.getExpireAfterAccess());
          } else {
              set(key, entry, getExpireAfterWrite(), getExpireAfterAccess());
          }
      }
docs: {@inheritDoc}