public class ExclusiveLockManager extends Object
Constructor and Description |
---|
ExclusiveLockManager()
Creates an ExclusiveLockManager.
|
ExclusiveLockManager(boolean trackLocks)
Creates an ExclusiveLockManager.
|
Modifier and Type | Method and Description |
---|---|
Lock |
getExclusiveLock()
Gets the exclusive lock.
|
Lock |
tryExclusiveLock()
Gets the exclusive lock, if available.
|
public ExclusiveLockManager()
public ExclusiveLockManager(boolean trackLocks)
trackLocks
- If create stack traces should be loggedpublic Lock tryExclusiveLock()
public Lock getExclusiveLock() throws InterruptedException
InterruptedException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.