|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface MutexedMethod
Attach a semaphore to a method. Only a certain amount of threads are allowed to access that method at one time.
Optional Element Summary | |
---|---|
boolean |
isFair
|
long |
timeout
|
TimeUnit |
unit
|
public abstract boolean isFair
public abstract long timeout
public abstract TimeUnit unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |