|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.util.dictionary.persistent.Sync
Sync performs bidirectional synchronization between an IPersistentDictionary and its underlying storage. Because this class uses WeakReference, it requires JDK 1.2 and above.
Method Summary | |
static void |
addDictionary(IPersistentDictionary dictionary)
|
static void |
removeDictionary(IPersistentDictionary dictionary)
|
void |
run()
|
static void |
setSyncCycle(int milliseconds)
|
void |
sync()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void setSyncCycle(int milliseconds)
milliseconds
- public static void addDictionary(IPersistentDictionary dictionary)
dictionary
- public static void removeDictionary(IPersistentDictionary dictionary)
dictionary
- public void run()
run
in interface java.lang.Runnable
public void sync()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |