Package | Description |
---|---|
org.sonar.api.utils |
Modifier and Type | Method and Description |
---|---|
DatabaseSemaphore.Lock |
DatabaseSemaphore.acquire(String name)
Try to acquire the lock on a name.
|
DatabaseSemaphore.Lock |
DatabaseSemaphore.acquire(String name,
int maxDurationInSeconds)
Try to acquire a lock on a name, for a given duration.
|
Copyright © 2009-2012 SonarSource. All Rights Reserved.