Class Atomics.SerializableAtomicMarkableReference<V>
- java.lang.Object
- 
- java.util.concurrent.atomic.AtomicMarkableReference<V>
- 
- com.oracle.coherence.concurrent.atomic.Atomics.SerializableAtomicMarkableReference<V>
 
 
- 
- Type Parameters:
- V- the type of object referred to by this reference
 - All Implemented Interfaces:
- ExternalizableLite,- Serializable
 - Enclosing class:
- Atomics
 
 public static class Atomics.SerializableAtomicMarkableReference<V> extends AtomicMarkableReference<V> implements ExternalizableLite Extension toAtomicMarkableReferenceto allow Java serialization.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description SerializableAtomicMarkableReference()Required for serialization.SerializableAtomicMarkableReference(V initialRef, boolean initialMark)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(DataInput in)Restore the contents of this object by loading the object's state from the passed DataInput object.voidwriteExternal(DataOutput out)Save the contents of this object by storing the object's state into the passed DataOutput object.- 
Methods inherited from class java.util.concurrent.atomic.AtomicMarkableReferenceattemptMark, compareAndSet, get, getReference, isMarked, set, weakCompareAndSet
 
- 
 
- 
- 
- 
Constructor Detail- 
SerializableAtomicMarkableReferencepublic SerializableAtomicMarkableReference() Required for serialization.
 - 
SerializableAtomicMarkableReferencepublic SerializableAtomicMarkableReference(V initialRef, boolean initialMark) - Parameters:
- initialRef-
- initialMark-
 
 
- 
 - 
Method Detail- 
readExternalpublic void readExternal(DataInput in) throws IOException Description copied from interface:ExternalizableLiteRestore the contents of this object by loading the object's state from the passed DataInput object.- Specified by:
- readExternalin interface- ExternalizableLite
- Parameters:
- in- the DataInput stream to read data from in order to restore the state of this object
- Throws:
- IOException- if an I/O exception occurs
- NotActiveException- if the object is not in its initial state, and therefore cannot be deserialized into
 
 - 
writeExternalpublic void writeExternal(DataOutput out) throws IOException Description copied from interface:ExternalizableLiteSave the contents of this object by storing the object's state into the passed DataOutput object.- Specified by:
- writeExternalin interface- ExternalizableLite
- Parameters:
- out- the DataOutput stream to write the state of this object to
- Throws:
- IOException- if an I/O exception occurs
 
 
- 
 
-