org.mmbase.cache
Class ReleaseStrategy.StrategyResult

Package class diagram package ReleaseStrategy.StrategyResult
java.lang.Object
  extended by 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

Constructor Summary
ReleaseStrategy.StrategyResult(boolean shouldRelease, long cost)
           
 
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
 

Constructor Detail

ReleaseStrategy.StrategyResult

ReleaseStrategy.StrategyResult(boolean shouldRelease,
                               long cost)
Method Detail

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-11-29T11:08