|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.lang.Thread
|
+--edu.vt.marian.WebGate.user_manage
Class name: user_manage Class description: this is a thread, it will check user database periodically and write those information which are not used currently back to disk thus the system will not consume unlimited memory when user number and query number grows Author: Jianxin Zhao Finished time: ????, 1998 Known bugs: none Platform: jdk1.1.5 under UNIX
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
user_manage(java.lang.String dir,
user_manager um,
edu.vt.marian.common.Debug debug)
this constructor will create a user manage object from a directory and a user manager object, the directory contain information about the time interval to check user database and to unload users |
|
user_manage(user_manager um,
edu.vt.marian.common.Debug debug)
|
|
| Method Summary | |
long |
get_check_interval()
this method will return the time interval this thread check user database |
long |
get_unload_interval()
this method will return the time interval to unload users |
void |
run()
this method will take all the responsibility of this thread |
java.lang.String |
set_check_interval(long time)
this method will set the time interval this thread check the user database |
java.lang.String |
set_unload_interval(long time)
this method will set the time interval to unload users |
| 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 user_manage(user_manager um,
edu.vt.marian.common.Debug debug)
public user_manage(java.lang.String dir,
user_manager um,
edu.vt.marian.common.Debug debug)
| Method Detail |
public void run()
public java.lang.String set_check_interval(long time)
public long get_check_interval()
public java.lang.String set_unload_interval(long time)
public long get_unload_interval()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||