org.siebengeisslein.core
Class GCState
java.lang.Object
org.siebengeisslein.core.TwoFile
org.siebengeisslein.core.GCState
public class GCState
- extends TwoFile
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GCState
public GCState(Config config,
boolean create,
Core core,
BTree btree,
TransactionManager transactionManager,
CoreTransactionSequence seq)
throws java.io.IOException
- Throws:
java.io.IOException
init
protected void init()
- Specified by:
init in class TwoFile
read
protected void read(java.io.RandomAccessFile file)
throws java.io.IOException
- Specified by:
read in class TwoFile
- Throws:
java.io.IOException
write
protected void write(java.io.RandomAccessFile file)
throws java.io.IOException
- Specified by:
write in class TwoFile
- Throws:
java.io.IOException
notifySet
public void notifySet(FlushThread flushThread)
throws java.io.IOException
- Throws:
java.io.IOException
notifyGCInitialized
public void notifyGCInitialized()
throws java.io.IOException
- Throws:
java.io.IOException
notifyGCEnded
public void notifyGCEnded(FlushThread flushThread)
throws java.io.IOException
- Throws:
java.io.IOException
isActive
public boolean isActive()
recovered
public void recovered(FlushThread flushThread)
throws java.io.IOException
- Throws:
java.io.IOException
isRunning
public boolean isRunning()