|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CDOLock
Once object got lock, it will not go in conflict mode or cannot be changed.
| Field Summary | |
|---|---|
static int |
NO_WAIT
TODO Simon: JavaDoc |
static int |
WAIT
TODO Simon: JavaDoc |
| Method Summary | |
|---|---|
org.eclipse.net4j.util.concurrent.RWLockManager.LockType |
getType()
TODO Simon: JavaDoc |
boolean |
isLocked()
Returns true if this lock is currently held by the requesting view, false
otherwise. |
boolean |
isLockedByOthers()
Returns true if this lock is currently held by another view (i.e. any view different
from the requesting one), false otherwise. |
| Methods inherited from interface java.util.concurrent.locks.Lock |
|---|
lock, lockInterruptibly, newCondition, tryLock, tryLock, unlock |
| Field Detail |
|---|
static final int WAIT
static final int NO_WAIT
| Method Detail |
|---|
org.eclipse.net4j.util.concurrent.RWLockManager.LockType getType()
boolean isLocked()
true if this lock is currently held by the requesting view, false
otherwise.
boolean isLockedByOthers()
true if this lock is currently held by another view (i.e. any view different
from the requesting one), false otherwise.
|
Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||