public void put(String entityTypeId, Entity entity) {
    CombinedEntityCache entityCache = caches.get();
    if (entityCache != null) {
      entityCache.put(entity);
      LOG.trace(
          "Added dehydrated row [{}] from entity {} to the L1 cache",
          entity.getIdValue(),
          entityTypeId);
    }
  }
public void put ( String entityTypeId , Entity entity ) { CombinedEntityCache entityCache = caches . get ( ) ; if ( entityCache != null ) { entityCache . put ( entity ) ; LOG . trace ( "Added dehydrated row [{}] from entity {} to the L1 cache" , entity . getIdValue ( ) , entityTypeId ) ; } }
Puts an entity into the L1 cache, if the cache exists for the current thread.

@param entityTypeId name of the entity to put into the cache
@param entity the entity to put into the cache