code: protected void putToCache(String cacheName, String key, Object value,
              long expireAfterWriteSeconds, long expireAfterAccessSeconds) {
          try {
              ICache cache = getCache(cacheName);
              if (value != null && cache != null) {
                  cache.set(key, value, expireAfterWriteSeconds, expireAfterAccessSeconds);
              }
          } catch (CacheException e) {
              LOGGER.warn(e.getMessage(), e);
          }
      }
docs: Puts an entry to cache, with specific expireAfterWrite/expireAfterRead.
  
  @param cacheName
  @param key
  @param value
  @param expireAfterWriteSeconds
  @param expireAfterAccessSeconds