About evict

api-jdo

evict(pc)

Mark an instance as no longer needed in the cache.(Method of javax.jdo.PersistenceManager)

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... objects can be removed from the cache by one of the evict methods: // Remove a specific entity object from the shared cache: cache. evict evict(cls, primaryKey) Cache's method Remove the data ...

 
api-jpa

evict(cls)

Remove the data for entities of the specified class (and its subclasses) from the cache.(Method of javax.persistence.Cache)

 
api-jpa

evict(cls, primaryKey)

Remove the data for the given entity from the cache.(Method of javax.persistence.Cache)

 
api-jpa

evictAll()

Clear the cache.(Method of javax.persistence.Cache)

 
api-jdo

evict(oid)

Evict the parameter instance from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jdo

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

This class is an empty implementation of the DataStoreCache interface.(Class of JDO)

 
api-jdo

evictAll(subclasses, pcClass)

Evict the parameter instances from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jdo

evictAll(pcClass, subclasses)

Evict the parameter instances from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jdo

javax.jdo.datastore.DataStoreCache

Many JDO implementations allow instances to be cached in a second-level cache, and allow direct management of the cache by knowledgeable applications.(Interface of JDO)