|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.persistence.FilePersistenceThread
public class FilePersistenceThread
Thread that writes modified persistent objects to the file system periodically.
| Method Summary | |
|---|---|
static FilePersistenceThread |
getInstance()
Return singleton instance of the thread. |
protected void |
modified(IPersistable object,
FilePersistence store)
Notify thread that an object was modified in a persistence store. |
protected void |
notifyClose(FilePersistence store)
Write any pending objects for the given store to disk. |
void |
run()
Write modified objects to the file system periodically. |
void |
shutdown()
Cleanly shutdown the tasks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FilePersistenceThread getInstance()
protected void modified(IPersistable object,
FilePersistence store)
object - store - protected void notifyClose(FilePersistence store)
store - public void run()
run in interface Runnablepublic void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||