|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectio.leopard.timer.SimpleTimer
public abstract class SimpleTimer
| Field Summary | |
|---|---|
protected Period |
period
|
| Constructor Summary | |
|---|---|
SimpleTimer(int second)
构造定时器 . |
|
SimpleTimer(Period period)
|
|
| Method Summary | |
|---|---|
Period |
getPeriod()
周期. |
int |
getThreadCount()
线程数. |
boolean |
isEnabled()
是否启用 . |
void |
run()
|
abstract void |
start()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Period period
| Constructor Detail |
|---|
public SimpleTimer(int second)
second - public SimpleTimer(Period period)
| Method Detail |
|---|
public boolean isEnabled()
Timer
isEnabled in interface Timerpublic Period getPeriod()
Timer
getPeriod in interface Timerpublic int getThreadCount()
Timer
getThreadCount in interface Timerpublic abstract void start()
start in interface Timerpublic void run()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||