Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90868-03
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
protected V |
m_value
The held value.
|
-
Constructor Summary
Constructors
Constructor and Description |
VolatileHolder()
Construct a VolatileHolder with no value.
|
VolatileHolder(V value)
Construct a VolatileHolder with an initial value.
|
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
set
public void set(V value)
Specify the held object.
- Specified by:
set
in interface Holder<V>
- Parameters:
value
- the object to hold
-
get
public V get()
Return the held object.
- Specified by:
get
in interface Holder<V>
- Returns:
- the held object
Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90868-03
Copyright © 2000, 2023, Oracle and/or its affiliates. All rights reserved.