com.arjuna.ats.txoj.semaphore
Class SemaphoreImple

java.lang.Object
  extended bycom.arjuna.ats.txoj.semaphore.SemaphoreImple

public abstract class SemaphoreImple
extends java.lang.Object

Implementations of semaphore classes should derive from this class and provide implementations of the relevant methods.

Since:
JTS 1.0.
Version:
$Id: SemaphoreImple.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark@arjuna.com)

Constructor Summary
SemaphoreImple()
           
 
Method Summary
 ClassName className()
           
abstract  int lock()
           
static ClassName name()
           
abstract  int tryLock()
           
abstract  int unlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemaphoreImple

public SemaphoreImple()
Method Detail

lock

public abstract int lock()

unlock

public abstract int unlock()

tryLock

public abstract int tryLock()

className

public ClassName className()

name

public static ClassName name()