|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnetscape.ldap.TTLTimer
class TTLTimer
Represents a timer which will timeout for every certain interval. It provides methods to start, stop, or restart timer.
| Constructor Summary | |
|---|---|
TTLTimer(LDAPCache cache)
Constructor with the specified timout. |
|
| Method Summary | |
|---|---|
void |
run()
The runnable waits until the timeout period has elapsed. |
(package private) void |
start(long timeout)
(Re)start the timer. |
(package private) void |
stop()
Stop the timer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
TTLTimer(LDAPCache cache)
timeout - the timeout value in milliseconds| Method Detail |
|---|
void start(long timeout)
void stop()
public void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||