Home » JDO » PersistenceManager » evict(pc) - JDO PersistenceManager's method

evict(pc) - JDO PersistenceManager's method

void evict(
  Object pc

Mark an instance as no longer needed in the cache. Eviction is normally done automatically by the PersistenceManager at transaction completion. This method allows the application to explicitly provide a hint to the PersistenceManager that the instance is no longer needed in the cache.
pc - the instance to evict from the cache.
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.