Package com.sun.xml.ws.commons
Class VolatileReference<V>
- java.lang.Object
-
- com.sun.xml.ws.commons.VolatileReference<V>
-
- Type Parameters:
V- type of the wrapped variable
public final class VolatileReference<V> extends Object
This class is useful in case you need to pass a reference to a variable that might have not been initialized yet. The referenced variable is volatile to ensure that any change of the reference will get synchronized among threads.- Author:
- Marek Potociar
-
-
Constructor Summary
Constructors Constructor Description VolatileReference(V value)
-