| Package | Description |
|---|---|
| com.arjuna.ats.internal.txoj | |
| com.arjuna.ats.txoj | |
| org.jboss.stm.internal.optimistic |
| Modifier and Type | Field and Description |
|---|---|
protected Lock |
LockList.head |
| Modifier and Type | Method and Description |
|---|---|
static Lock |
LockFriend.getLink(Lock inst) |
Lock |
LockListIterator.iterate() |
Lock |
LockList.pop() |
| Modifier and Type | Method and Description |
|---|---|
void |
LockList.forgetNext(Lock current) |
static Lock |
LockFriend.getLink(Lock inst) |
boolean |
LockList.insert(Lock newlock) |
void |
LockList.push(Lock newLock) |
static void |
LockFriend.setLink(Lock inst,
Lock link) |
| Modifier and Type | Method and Description |
|---|---|
protected Lock |
Lock.getLink()
Get the next lock in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Lock.conflictsWith(Lock otherLock)
Implementation of Lock conflict check.
|
boolean |
Lock.equals(Lock otherLock)
Are the two locks equal?
|
protected boolean |
LockManager.isAncestorOf(Lock heldLock) |
protected int |
LockManager.lockConflict(Lock otherLock) |
protected void |
Lock.setLink(Lock pointTo)
Set the next lock in the chain.
|
int |
LockManager.setlock(Lock toSet) |
int |
LockManager.setlock(Lock toSet,
int retry) |
int |
LockManager.setlock(Lock toSet,
int retry,
int sleepTime) |
| Modifier and Type | Class and Description |
|---|---|
class |
OptimisticLock
Instances of this class (or derived user classes) are used when trying to set
a lock.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
OptimisticLock.conflictsWith(Lock otherLock)
Implementation of Lock conflict check.
|
int |
OptimisticLockManager.setlock(Lock toSet,
int retry,
int sleepTime) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.