Java API Reference for Oracle? Coherence Community Edition
(14.1.1.0.20)
-
-
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
Java API Reference for Oracle? Coherence Community Edition
(14.1.1.0.20)
Copyright © 2000, 2025, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.