FileDocCategorySizeDatePackage
SemaphoredMethod.javaAPI DocJBoss 4.2.11740Fri Jul 13 21:02:36 BST 2007org.jboss.aspects.concurrent

SemaphoredMethod

public class SemaphoredMethod
Attach a semaphore to a method. Only a certain amount of threads are allowed to access that method at one time.
author
Bill Burke

(Omit source code)

Fields Summary
Constructors Summary
Methods Summary
booleanisFair()

intpermits()
max number of permits

longtimeout()

java.util.concurrent.TimeUnitunit()