Example usage for Java org.hibernate Cache fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | containsCollection(String role, Serializable ownerIdentifier) Determine whether the cache contains data for the given collection. |
boolean | containsEntity(Class entityClass, Serializable identifier) Determine whether the cache contains data for the given entity "instance". |
boolean | containsEntity(String entityName, Serializable identifier) Determine whether the cache contains data for the given entity "instance". |
void | evictAllRegions() Evict data from all cache regions. |
void | evictCollection(String role, Serializable ownerIdentifier) Evicts the cache data for the given identified collection instance. |
void | evictCollectionRegion(String role) Evicts all entity data from the given region (i.e. |
void | evictCollectionRegions() Evict data from all collection regions. |
void | evictDefaultQueryRegion() Evicts all cached query results from the default region. |
void | evictEntity(Class entityClass, Serializable identifier) Evicts the entity data for a particular entity "instance". |
void | evictEntity(String entityName, Serializable identifier) Evicts the entity data for a particular entity "instance". |
void | evictEntityRegion(Class entityClass) Evicts all entity data from the given region (i.e. |
void | evictEntityRegion(String entityName) Evicts all entity data from the given region (i.e. |
void | evictEntityRegions() Evict data from all entity regions. |
void | evictNaturalIdRegions() Evict data from all naturalId regions. |
void | evictQueryRegion(String regionName) Evicts all cached query results under the given name. |
void | evictQueryRegions() Evict data from all query regions. |