org.mmbase.cache
Class ReleaseStrategy.StrategyResult
java.lang.Object
org.mmbase.cache.ReleaseStrategy.StrategyResult
- Enclosing class:
- ReleaseStrategy
public static class ReleaseStrategy.StrategyResult
- extends Object
- Author:
- Ernst Bunders This class is a bean containing shouldRelease of an
event evaluation
|
Method Summary |
long |
getCost()
The cost of a node event evaluation. |
boolean |
shouldRelease()
Whether, according to this strategy, the query must be flushed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReleaseStrategy.StrategyResult
ReleaseStrategy.StrategyResult(boolean shouldRelease,
long cost)
getCost
public long getCost()
- The cost of a node event evaluation. This is in nanoseconds.
shouldRelease
public boolean shouldRelease()
- Whether, according to this strategy, the query must be flushed.
MMBase2 Core 2.0-SNAPSHOT - 2013-03-30T06:36