com.faunos.skwish.sys.mgr
Class DeleteSetManager

java.lang.Object
  extended by com.faunos.skwish.sys.mgr.DeleteSetManager

public class DeleteSetManager
extends Object

Author:
Babak Farhang

Constructor Summary
DeleteSetManager(LiveSegManager liveSegManager)
           
 
Method Summary
 Set<Long> getDeletedIds()
           
 DeleteSet getDeleteSet()
           
 int getIdCount()
           
 Callable<?> getWork()
           
 boolean hasDeletedIds()
           
 boolean hasWork()
           
 boolean load(UnitDir unit)
           
 void process()
           
 void setPurgeListener(DeleteSetPurgeListener purgeListener)
           
 void setSizeListener(DeleteSetSizeListener sizeListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteSetManager

public DeleteSetManager(LiveSegManager liveSegManager)
Method Detail

setSizeListener

public void setSizeListener(DeleteSetSizeListener sizeListener)

setPurgeListener

public void setPurgeListener(DeleteSetPurgeListener purgeListener)

getDeletedIds

public Set<Long> getDeletedIds()
                        throws IOException
Throws:
IOException

getDeleteSet

public DeleteSet getDeleteSet()

hasDeletedIds

public boolean hasDeletedIds()
                      throws IOException
Throws:
IOException

getIdCount

public int getIdCount()

load

public boolean load(UnitDir unit)
             throws IOException
Throws:
IOException

hasWork

public boolean hasWork()

getWork

public Callable<?> getWork()

process

public void process()
             throws IOException
Throws:
IOException


SourceForge.net Logo