Modifier and Type | Method and Description |
---|---|
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.
|
public void setWriteDelay(int writeDelay)
writeDelay
- the new write delaypublic static WriterThread create(Database database, int writeDelay)
database
- the databasewriteDelay
- the delaypublic void stopThread()
public void startThread()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.