org.red5.server.persistence
Modifier and Type | Method and Description |
---|---|
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
|
public static FilePersistenceThread getInstance()
protected void modified(IPersistable object, FilePersistence store)
object
- store
- protected void notifyClose(FilePersistence store)
store
- public void run()
public void shutdown()
Copyright © 2006-2012 The Red5 Project