public interface Cache
contains
, which returns false.Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Class cls,
java.lang.Object primaryKey)
Whether the cache contains data for the given entity.
|
void |
evict(java.lang.Class cls)
Remove the data for entities of the specified class (and its
subclasses) from the cache.
|
void |
evict(java.lang.Class cls,
java.lang.Object primaryKey)
Remove the data for the given entity from the cache.
|
void |
evictAll()
Clear the cache.
|
boolean contains(java.lang.Class cls, java.lang.Object primaryKey)
cls
- entity classprimaryKey
- primary keyvoid evict(java.lang.Class cls, java.lang.Object primaryKey)
cls
- entity classprimaryKey
- primary keyvoid evict(java.lang.Class cls)
cls
- entity classvoid evictAll()
Copyright © Eclipse.org - EclipseLink Project (2000, 2012). All Rights Reserved. Licensed under the Eclipse Public License v1.0.