Knopflerfish OSGi 5.2.0

org.knopflerfish.util
Class Timer

java.lang.Object
  extended by org.knopflerfish.util.Timer

public class Timer
extends java.lang.Object

Misc static timer utility methods.


Constructor Summary
Timer()
           
 
Method Summary
static java.lang.reflect.Method getMethod(java.lang.Class<?> c, java.lang.String name, java.lang.Class<?>[] args)
          Get method from class
static long timeMillis()
          Use System.nanoTime() if available, otherwise revert to System.currentTimeMillis().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timer

public Timer()
Method Detail

getMethod

public static java.lang.reflect.Method getMethod(java.lang.Class<?> c,
                                                 java.lang.String name,
                                                 java.lang.Class<?>[] args)
Get method from class


timeMillis

public static long timeMillis()
Use System.nanoTime() if available, otherwise revert to System.currentTimeMillis(). Return time in milliseconds that can be used for time measurements.


Knopflerfish OSGi 5.2.0