com.arjuna.ats.arjuna.common
Interface Mutex
public interface Mutex
Implementations of semaphore classes should derive from this
class and provide implementations of the relevant methods.
- Since:
- JTS 1.0.
- Version:
- $Id$
- Author:
- Mark Little (mark@arjuna.com)
LOCKED
static final int LOCKED
- See Also:
- Constant Field Values
UNLOCKED
static final int UNLOCKED
- See Also:
- Constant Field Values
WOULD_BLOCK
static final int WOULD_BLOCK
- See Also:
- Constant Field Values
ERROR
static final int ERROR
- See Also:
- Constant Field Values
lock
int lock()
unlock
int unlock()
tryLock
int tryLock()
Copyright © 2012. All Rights Reserved.