|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.store.WriterThread
public class WriterThread
The writer thread is responsible to flush the transaction transaction log from time to time.
Method Summary | |
---|---|
static WriterThread |
create(Database database,
int writeDelay)
Create and start a new writer thread for the given database. |
void |
run()
|
void |
setWriteDelay(int writeDelay)
Change the write delay |
void |
startThread()
Start the thread. |
void |
stopThread()
Stop the thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setWriteDelay(int writeDelay)
writeDelay
- the new write delaypublic static WriterThread create(Database database, int writeDelay)
database
- the databasewriteDelay
- the delay
public void run()
run
in interface java.lang.Runnable
public void stopThread()
public void startThread()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |