code: @Override
      public boolean offer(String name, Object obj) {
          boolean result = false;
          try {
              result = cache.isKeyInCache(name);
              // Put an object into the cache
              if (!result) {
                  put(name, obj);
              }
              //check again
              result = cache.isKeyInCache(name);
          } catch (NullPointerException npe) {
              log.debug("Name: " + name + " Object: " + obj.getClass().getName(), npe);
          }
          return result;
      }
docs: {@inheritDoc}