FileDocCategorySizeDatePackage
Semaphore.javaAPI DocAzureus 3.0.3.41273Fri Aug 25 19:01:18 BST 2006org.gudy.azureus2.plugins.utils

Semaphore

public interface Semaphore
author
parg

Fields Summary
Constructors Summary
Methods Summary
public voidrelease()

public voidreleaseAllWaiters()

public voidreserve()

public booleanreserve(long timeout_millis)
reserve a semaphore subject to timeout

param
timeout_millis time to wait
return
true -> semaphore reserved, false -> timeout exceeded

public booleanreserveIfAvailable()