code: public void put(Id id, Object value, Mode mode) {
          if (Mode.WRITE.equals(mode)) {
              writeCache.put(id, value);
          }
          readCache.put(new CacheKey(id), value);
      }
docs: Put an instance into the cache.
  
  @param id
  The id.
  @param value
  The instance.
  @param mode
  The mode.