|
AddressSpace library v1.0 beta | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--Sync
This class is a thread that keeps in sync a page or a LruQueue
with the disk image.
At timed intervals the sync method of all the pages is called.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
Sync(LruQueue q,
int st)
Create a new syncher connected to an LruQueue. |
|
Sync(SwappingPage p,
int st)
Create a new syncher connected to a SwappingPage. |
Method Summary | |
void |
close()
Close this tread. |
void |
run()
Run the thread while not instructed to die. |
Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
toString,
yield |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Sync(SwappingPage p, int st)
p
- the page to be synched.st
- the delay between syncs.public Sync(LruQueue q, int st)
q
- the queue to be synched.st
- the delay between syncs.Method Detail |
public void close()
public void run()
|
Help is irrilevant You will be assimilated! |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |