|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectio.leopard.timer.PerMinutePeriod
public class PerMinutePeriod
每分钟.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
|
| Constructor Summary | |
|---|---|
PerMinutePeriod(int second)
构造周期 . |
|
| Method Summary | |
|---|---|
int |
getSeconds()
返回与指定时间点相差的秒数 . |
boolean |
sleep()
睡眠到周期到了 . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public PerMinutePeriod(int second)
hour - 小时minute - 分钟| Method Detail |
|---|
public int getSeconds()
public boolean sleep()
throws java.lang.InterruptedException
Period
sleep in interface Periodjava.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||