io.leopard.timer
Class OncePeriod

java.lang.Object
  extended by io.leopard.timer.OncePeriod
All Implemented Interfaces:
Period

public class OncePeriod
extends java.lang.Object
implements Period

一次性.

Author:
阿海

Constructor Summary
OncePeriod()
           
 
Method Summary
 boolean sleep()
          睡眠到周期到了 .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OncePeriod

public OncePeriod()
Method Detail

sleep

public boolean sleep()
Description copied from interface: Period
睡眠到周期到了 .

Specified by:
sleep in interface Period
Returns:
是否还继续下一次.


Copyright © 2014. All Rights Reserved.