remove

Remove the value stored under the given query key.
This method is typically not invoked directly from outside
the QueryCache class. Instead, the cache should
be updated by implementing RemoteCommitListener,
which will result in all queries that may be invalid being dropped.

unpin

Unpin the value stored under key into the cache.
This method reverses a previous invocation of QueryCache.pin(org.apache.openjpa.datacache.QueryKey).
This method does not remove anything from the cache; it merely
makes key's value a candidate for flushing from the cache.