V - the type of valuepublic abstract class AbstractMergingValueImpl<V,T extends AbstractMergingValueImpl<V,T>> extends Object implements MergingValue<V>, SerializationServiceAware, IdentifiedDataSerializable
MergingValue.| Constructor and Description | 
|---|
AbstractMergingValueImpl()  | 
AbstractMergingValueImpl(SerializationService serializationService)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
Object | 
getDeserializedValue()
Returns the deserialized merging value. 
 | 
int | 
getFactoryId()
Returns DataSerializableFactory factory ID for this class. 
 | 
V | 
getValue()
Returns the merging value in the in-memory format of the backing data structure. 
 | 
int | 
hashCode()  | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
void | 
setSerializationService(SerializationService serializationService)
Gets the SerializationService reference injected. 
 | 
T | 
setValue(V value)  | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdpublic AbstractMergingValueImpl()
public AbstractMergingValueImpl(SerializationService serializationService)
public V getValue()
MergingValuegetValue in interface MergingValue<V>public Object getDeserializedValue()
MergingValuegetDeserializedValue in interface MergingValue<V>public void setSerializationService(SerializationService serializationService)
SerializationServiceAwaresetSerializationService in interface SerializationServiceAwareserializationService - the SerializationService referencepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     input stream has been closed.public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializableCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.