code: protected <T> void remove(Class<T> entityClass, Object id, boolean spillOverToL2)
      {
          String key = cacheKey(entityClass, id);
          LOG.debug("Removing from L1 >> " + key);
          Object o = sessionCache.remove(key);
  
          if (spillOverToL2)
          {
              LOG.debug("Removing from L2 >> " + key);
              Cache c = (Cache) getL2Cache();
              if (c != null)
              {
                  c.evict(entityClass, key);
              }
          }
      }
docs: Removes the from cache.
  
  @param <T>
  the generic type
  @param entityClass
  the entity class
  @param id
  the id
  @param spillOverToL2
  the spill over to l2