com.faunos.skwish.sys.mgr
Class DeadSegManager
java.lang.Object
com.faunos.skwish.sys.mgr.DeadSegManager
- All Implemented Interfaces:
- DeleteSetPurgeListener, SegUndertaker
public class DeadSegManager
- extends Object
- implements SegUndertaker, DeleteSetPurgeListener
- Author:
- Babak Farhang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeadSegManager
public DeadSegManager()
deteteSetPurged
public void deteteSetPurged(UnitDir unit)
- Specified by:
deteteSetPurged
in interface DeleteSetPurgeListener
deliver
public void deliver(UnitDir.Seg purgeableSeg)
- Specified by:
deliver
in interface SegUndertaker
addUnitDirWithDeadSeg
public void addUnitDirWithDeadSeg(UnitDir unit)
throws IOException
- Throws:
IOException
hasWork
public boolean hasWork()
process
public void process()
throws IOException
- Throws:
IOException
getWork
public Callable<?> getWork()