things.thinger.kernel
Class KernelTools

java.lang.Object
  extended by things.thinger.kernel.KernelTools

public class KernelTools
extends java.lang.Object

Static tools for the Kernel

Version:
1.0

Version History

EPG - Initial - 20 OCT 04
 
Author:
Erich P. Gatejen

Constructor Summary
KernelTools()
           
 
Method Summary
static void lockOnTimer(java.util.concurrent.locks.Lock theLock)
          Acquire the lock on the Kernel set time limit.
static void unlockCarefree(java.util.concurrent.locks.Lock theLock)
          Carefree unlock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KernelTools

public KernelTools()
Method Detail

lockOnTimer

public static void lockOnTimer(java.util.concurrent.locks.Lock theLock)
                        throws SystemException
Acquire the lock on the Kernel set time limit. If it fails, it'll throw an serious FAULT.

Parameters:
theLock - the lock to try
Throws:
SystemException
See Also:
Lock

unlockCarefree

public static void unlockCarefree(java.util.concurrent.locks.Lock theLock)
Carefree unlock. Don't care if there is any error.

Parameters:
theLock - the lock to unlock


Things.