| java.lang.Object org.mmbase.cache.ReleaseStrategy org.mmbase.cache.BasicReleaseStrategy
BasicReleaseStrategy | public class BasicReleaseStrategy extends ReleaseStrategy (Code) | | This class provides a very basic release strategy. In fact it will release
the cache in nearly every instance, except when the event is for a step in
the SearchQuery that has 'nodes' set for it and the changed
node is not one of those. This release strategy is in fact the original one
and will allways be the first in the hierarchy of the
ChainedReleaseStrategy .
author: Ernst Bunders since: MMBase-1.8 version: $Id: BasicReleaseStrategy.java,v 1.17 2008/02/12 16:27:11 michiel Exp $ |
BasicReleaseStrategy | public BasicReleaseStrategy()(Code) | | |
Methods inherited from org.mmbase.cache.ReleaseStrategy | public void clear()(Code)(Java Doc) abstract protected boolean doEvaluate(NodeEvent event, SearchQuery query, List<MMObjectNode> cachedResult)(Code)(Java Doc) abstract protected boolean doEvaluate(RelationEvent event, SearchQuery query, List<MMObjectNode> cachedResult)(Code)(Java Doc) public boolean equals(Object ob)(Code)(Java Doc) final public StrategyResult evaluate(NodeEvent event, SearchQuery query, List<MMObjectNode> cachedResult)(Code)(Java Doc) final public StrategyResult evaluate(RelationEvent event, SearchQuery query, List<MMObjectNode> cachedResult)(Code)(Java Doc) public int getAvgEvaluationTimeInMilis()(Code)(Java Doc) protected static List<Constraint> getConstraintsForField(String fieldName, MMObjectBuilder builder, Constraint constraint, SearchQuery query)(Code)(Java Doc) abstract public String getDescription()(Code)(Java Doc) abstract public String getName()(Code)(Java Doc) protected static List<SortOrder> getSortordersForField(String fieldName, MMObjectBuilder builder, List<SortOrder> sortOrders, SearchQuery query)(Code)(Java Doc) public int getTotalEvaluated()(Code)(Java Doc) public long getTotalEvaluationTimeMillis()(Code)(Java Doc) public int getTotalPreserved()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public void setEnabled(boolean newStatus)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|