com.quadrique.jbuildingblocks.core.time
Class JbbTimer

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.time.JbbTimer

public class JbbTimer
extends Object

This class is used to block the calling thread for a specific amount of time

Version:
1.0.0
Author:
Hervé Rivere

Constructor Summary
JbbTimer()
           
 
Method Summary
static void sleep(long zNbMilliseconds)
          This method will cause the calling thread to wait for the specified amount of time Please note that this is approximate and the thread could be awakened earlier (e.g.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbbTimer

public JbbTimer()
Method Detail

sleep

public static void sleep(long zNbMilliseconds)
This method will cause the calling thread to wait for the specified amount of time Please note that this is approximate and the thread could be awakened earlier (e.g. if an interruption is not to the calling thread)

Parameters:
zNbMilliseconds - the number of milliseconds to sleep


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.