Package org.apache.openjpa.kernel
Interface PreparedQueryCache.Exclusion
- 
- All Known Implementing Classes:
 PreparedQueryCacheImpl.StrongExclusion,PreparedQueryCacheImpl.WeakExclusion
- Enclosing interface:
 - PreparedQueryCache
 
public static interface PreparedQueryCache.ExclusionA structure to describe the strength and reason for excluding a query from the cache. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetPattern()The pattern (either the exact query string or a regular expression) that denotes this exclusion.StringgetReason()Gets the human-readable reason for excluding this query from being cached.booleanisStrong()Affirms if this exclusion is strong i.e. can never be reversed.booleanmatches(String id)Affirms if this exclusion matches the given identifier. 
 - 
 
- 
- 
Method Detail
- 
isStrong
boolean isStrong()
Affirms if this exclusion is strong i.e. can never be reversed. 
- 
getReason
String getReason()
Gets the human-readable reason for excluding this query from being cached. 
- 
getPattern
String getPattern()
The pattern (either the exact query string or a regular expression) that denotes this exclusion. 
- 
matches
boolean matches(String id)
Affirms if this exclusion matches the given identifier. 
 - 
 
 -