• This project
    • Loading...
  • Sign in

홍길동 / onos

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • onos
  • ..
  • timer
  • Timer.java
  • alshabib's avatar
    link discovery and providers are implemented · df652add
    df652add
    alshabib authored 2014-09-09 11:53:19 -0700
Timer.java 383 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package org.onlab.timer;

import org.jboss.netty.util.HashedWheelTimer;


public final class Timer {

    private Timer() {}

    private static HashedWheelTimer timer;

    public static HashedWheelTimer getTimer() {
        if (Timer.timer == null) {
            Timer.timer = new HashedWheelTimer();
            Timer.timer.start();
        }
        return Timer.timer;
    }

}