All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.RecursiveLock

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.RecursiveLock

public class RecursiveLock
extends NativeObject
implements Locking
This class wraps the Objective-C class NSRecursiveLock.


Constructor Index

 o RecursiveLock()
This default constructor is equivalent to Objective-C's [[NSRecursiveLock alloc] init].
 o RecursiveLock(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o lock()
A wrapper for the - lock Objective-C instance method defined by the Locking interface (known as the NSLocking Objective-C protocol).
 o lockBeforeDate(Date)
A wrapper for the - lockBeforeDate: Objective-C instance method.
 o tryLock()
A wrapper for the - tryLock Objective-C instance method.
 o unlock()
A wrapper for the - unlock Objective-C instance method defined by the Locking interface (known as the NSLocking Objective-C protocol).

Constructors

 o RecursiveLock
 protected RecursiveLock(boolean shouldAllocate,
                         int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o RecursiveLock
 public RecursiveLock()
This default constructor is equivalent to Objective-C's [[NSRecursiveLock alloc] init].

Methods

 o tryLock
 public native boolean tryLock()
A wrapper for the - tryLock Objective-C instance method.

 o lockBeforeDate
 public native boolean lockBeforeDate(Date limit)
A wrapper for the - lockBeforeDate: Objective-C instance method.

 o lock
 public native void lock()
A wrapper for the - lock Objective-C instance method defined by the Locking interface (known as the NSLocking Objective-C protocol).

 o unlock
 public native void unlock()
A wrapper for the - unlock Objective-C instance method defined by the Locking interface (known as the NSLocking Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index