code: @Override
      public void put(String spaceId, String key, Map<String, Object> document,
              IPutCallback<Map<String, Object>> callback) throws IOException {
          kdStorage.put(spaceId, key, document, new IPutCallback<Map<String, Object>>() {
              @Override
              public void onSuccess(String spaceId, String key, Map<String, Object> entry) {
                  // invalidate cache upon successful deletion
                  invalidateCacheEntry(spaceId, key, entry);
                  // invoke callback
                  callback.onSuccess(spaceId, key, entry);
              }
  
              @Override
              public void onError(String spaceId, String key, Map<String, Object> entry,
                      Throwable t) {
                  // invoke callback
                  callback.onError(spaceId, key, entry, t);
              }
          });
      }
docs: {@inheritDoc}