|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sasl.aop.distributed.lock.annotation.mutex.AnnotationLockConstants
public final class AnnotationLockConstants
Class defines some shared constants between different distributed lock annotations.
| Field Summary | |
|---|---|
static String |
DEFAULT_LOCK_KEY_POSTFIX
A postfix string that should get appended after a lock key, for example "-lock". |
static String |
DEFAULT_LOCK_KEY_PREFIX
A prefix string that should get pushed before a lock key, for example "customer-id-". |
static int |
DEFAULT_LOCK_ORDER_NUMBER
The priority value defines an order number, if multiple locks should get acquired and locked at the same point of time. |
static long |
DEFAULT_MAX_LOCK_WAITTIME
The maximum wait time before a lock is acquired and locked. |
| Constructor Summary | |
|---|---|
AnnotationLockConstants()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long DEFAULT_MAX_LOCK_WAITTIME
public static final int DEFAULT_LOCK_ORDER_NUMBER
public static final String DEFAULT_LOCK_KEY_PREFIX
public static final String DEFAULT_LOCK_KEY_POSTFIX
| Constructor Detail |
|---|
public AnnotationLockConstants()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||