|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface DistributedStaticMutexLocks
Annotation to declare a container for static locks to which same
default values should get applied.
Also allows to declare multiple DistributedMutexLock annotations at a method.
| Required Element Summary | |
|---|---|
DistributedStaticMutexLock[] |
locks
|
| Optional Element Summary | |
|---|---|
int |
lockOrderNumber
If multiple locks should be done, than the lock order number (=lock priority) defines in which order the locks should be done. |
long |
maxLockWaitTime
The maximum amount of milliseconds to wait for get the mutex locked. |
| Element Detail |
|---|
public abstract DistributedStaticMutexLock[] locks
public abstract long maxLockWaitTime
locks() array.
public abstract int lockOrderNumber
locks() array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||