code: public void put(Entity entity) {
      EntityType entityType = entity.getEntityType();
      cache.put(
          EntityKey.create(entityType, entity.getIdValue()),
          CacheHit.of(entityHydration.dehydrate(entity)));
    }
docs: Inserts an entity into the cache.
  
  @param entity the entity to insert into the cache