public static class RWOLockManager.LockState<OBJECT,CONTEXT> extends Object
IRWLockManager.LockType
The locking semantics established by this class are as follows:
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
OBJECT |
getLockedObject() |
Set<CONTEXT> |
getReadLockOwners() |
CONTEXT |
getWriteLockOwner() |
CONTEXT |
getWriteOptionOwner() |
int |
hashCode() |
boolean |
hasLock(IRWLockManager.LockType type) |
boolean |
hasLock(IRWLockManager.LockType type,
CONTEXT view,
boolean byOthers) |
String |
toString() |
public OBJECT getLockedObject()
public boolean hasLock(IRWLockManager.LockType type, CONTEXT view, boolean byOthers)
public boolean hasLock(IRWLockManager.LockType type)
public CONTEXT getWriteLockOwner()
public CONTEXT getWriteOptionOwner()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html