|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.util.SynchronizedVerifier
public class SynchronizedVerifier
A utility class that allows to verify access to a resource is synchronized.
Constructor Summary | |
---|---|
SynchronizedVerifier()
|
Method Summary | |
---|---|
static void |
check(java.lang.Object o)
Verify the object is not accessed concurrently. |
static void |
setDetect(java.lang.Class<?> clazz,
boolean value)
Enable or disable detection for a given class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SynchronizedVerifier()
Method Detail |
---|
public static void setDetect(java.lang.Class<?> clazz, boolean value)
clazz
- the classvalue
- the new value (true means detection is enabled)public static void check(java.lang.Object o)
o
- the object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |