File
Doc
Category
Size
Date
Package
SemaphoredMethod.java
API Doc
JBoss 4.2.1
1740
Fri Jul 13 21:02:36 BST 2007
org.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
boolean
isFair
()
int
permits
()
max number of permits
long
timeout
()
java.util.concurrent.TimeUnit
unit
()
Java Code Source