package javax.persistence;
/**
* Interface used to interact with the second-level cache.
* If a cache is not in use, the methods of this interface have
* no effect, except for contains, which returns false.
*/
public interface Cache {
/**
* Whether the cache contains data for the given entity.
*/
public boolean contains(Class cls, Object primaryKey);
/**
* Remove the data for the given entity from the cache.
*/
public void evict(Class cls, Object primaryKey);
/**
* Remove the data for entities of the specified class (and its
subclasses) from the cache.
*/
public void evict(Class cls);
/**
* Clear the cache.
*/
public void evictAll();
}
@@ -235,21 +235,29 @@
 ache %7B%0D%0A
+    
 /**%0D%0A
+    
 * Whethe
@@ -305,20 +305,28 @@
 ntity.%0D%0A
-*/%0D%0A
+    */%0D%0A    
 public b
@@ -365,37 +365,45 @@
 t primaryKey);%0D%0A
+    
 /**%0D%0A
+    
 * Remove the dat
@@ -434,36 +434,44 @@
 rom the cache.%0D%0A
-*/%0D%0A
+    */%0D%0A    
 public void evic
@@ -504,21 +504,29 @@
 yKey);%0D%0A
+    
 /**%0D%0A
+    
 * Remove
@@ -581,16 +581,20 @@
 nd its%0D%0A
+    
 subclass
@@ -606,36 +606,44 @@
 rom the cache.%0D%0A
-*/%0D%0A
+    */%0D%0A    
 public void evic
@@ -657,21 +657,29 @@
  cls);%0D%0A
+    
 /**%0D%0A
+    
 * Clear 
@@ -686,28 +686,36 @@
 the cache.%0D%0A
-*/%0D%0A
+    */%0D%0A    
 public void 

fix spacing