|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.rule.AbstractAstVisitorRule
groovy.org.codenarc.rule.concurrency.SynchronizedOnReentrantLockRule
class SynchronizedOnReentrantLockRule extends AbstractAstVisitorRule
Synchronizing on a ReentrantLock field is almost never the intended usage. A ReentrantLock should be obtained using the lock() method and released in a finally block using the unlock() method.
Property Summary | |
---|---|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
Property Detail |
---|
Class astVisitorClass
String name
int priority
Groovy Documentation