public final class Perf
- extends Object
Compilation stub for pre-1.4.2 JREs. Thanks to it, the whole backport
concurrency package compiles and works with 1.4.2 as well as wih earlier
JREs, and takes advantage of native Perf class when running on 1.4.2 while
seamlessly falling back to System.currentTimeMillis() on previous JREs. This
class should NOT be included in the binary distribution of backport.
- Dawid Kurzyniec
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static Perf getPerf()
public long highResCounter()
public long highResFrequency()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.