/* * (non-Javadoc) * * @see org.springframework.data.repository.CrudRepository#save(S) */ @Override public <U extends T> U save(U entity) { template.put(entityInformation.getId(entity), entity); return entity; }
/* * (non-Javadoc) * * @see * org.springframework.data.gemfire.repository.GemfireRepository#save(org * .springframework.data.gemfire.repository.Wrapper) */ @Override public T save(Wrapper<T, ID> wrapper) { return template.put(wrapper.getKey(), wrapper.getEntity()); }