| org.mandarax.kernel.CachedClauseSet
All known Subclasses: org.mandarax.kernel.meta.AbstractClauseSet,
CachedClauseSet | public interface CachedClauseSet extends ClauseSet(Code) | | Clause set with a caching mechanism. In case the cache is switched off, each call of clauses()
will build a new set of clauses in case such a set is not explicitely given but implicitely
defined (e.g., by a database access description). This can be an expensive operation, so we support
caching this set (e.g., during a session) and reseting the cache.
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.0 |
Method Summary | |
boolean | isCacheEnabled() Indicates whether the cache is enabled. | void | reset() Reset the clause set. | void | setCacheEnabled(boolean flag) Enable / disable the cache property. |
isCacheEnabled | boolean isCacheEnabled()(Code) | | Indicates whether the cache is enabled.
true of the cache is enabled and false otherwise |
reset | void reset()(Code) | | Reset the clause set. In particular, this may include cleaning the cache.
|
setCacheEnabled | void setCacheEnabled(boolean flag)(Code) | | Enable / disable the cache property.
Parameters: flag - true if the cache should be enabled, false if the cahe should be disabled |
|
|