Package org.eclipse.aether.named.support
Interface AdaptedSemaphoreNamedLock.AdaptedSemaphore
-
- All Known Implementing Classes:
LocalSemaphoreNamedLockFactory.JVMSemaphore
- Enclosing class:
- AdaptedSemaphoreNamedLock
public static interface AdaptedSemaphoreNamedLock.AdaptedSemaphore
Wrapper for semaphore-like stuff, that do not share common ancestor. Semaphore must be created to supportInteger.MAX_VALUE
permissions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
release(int perms)
boolean
tryAcquire(int perms, long time, java.util.concurrent.TimeUnit unit)
-