public class SynchronizedVerifier extends Object
Constructor and Description |
---|
SynchronizedVerifier() |
Modifier and Type | Method and Description |
---|---|
static void |
check(Object o)
Verify the object is not accessed concurrently.
|
static void |
setDetect(Class<?> clazz,
boolean value)
Enable or disable detection for a given class.
|
public static void setDetect(Class<?> clazz, boolean value)
clazz
- the classvalue
- the new value (true means detection is enabled)public static void check(Object o)
o
- the objectCopyright © 2020 JBoss by Red Hat. All rights reserved.