org.ceryle.xnode.search
Class XNodeFinder.CacheProcessor

java.lang.Object
  extended by java.util.TimerTask
      extended by org.ceryle.xnode.search.XNodeFinder.CacheProcessor
All Implemented Interfaces:
Runnable
Enclosing class:
XNodeFinder

protected class XNodeFinder.CacheProcessor
extends TimerTask

Extends TimerTask, creating a low-priority process that sequentially flushes the XNodeStoreChangeCache of Collection change entries, deleting each cache entry as the search index is updated accordingly.


Constructor Summary
XNodeFinder.CacheProcessor(XNodeFinder xnodefinder)
           
 
Method Summary
 void processCacheEntry(int type, String cid, String nid)
           
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XNodeFinder.CacheProcessor

public XNodeFinder.CacheProcessor(XNodeFinder xnodefinder)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

processCacheEntry

public void processCacheEntry(int type,
                              String cid,
                              String nid)
                       throws SearchException
Throws:
SearchException


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.