Package com.firefly.utils.time.wheel

Examples of com.firefly.utils.time.wheel.TimeWheel.start()


public class TestTimerWheel {
  @Test
  public void test() {
//    log.debug("test timer wheel");
    TimeWheel t = new TimeWheel();
    t.start();
    final long start = System.currentTimeMillis();
    t.add(1500, new Runnable() {

      @Override
      public void run() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.