public class RingbufferMergingValueImpl extends Object implements SplitBrainMergeTypes.RingbufferMergeTypes, SerializationServiceAware, IdentifiedDataSerializable
SplitBrainMergeTypes.RingbufferMergeTypes.
 The class will hold a ringbuffer of items with the type of the| Constructor and Description | 
|---|
RingbufferMergingValueImpl()  | 
RingbufferMergingValueImpl(SerializationService serializationService)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
<DV> DV | 
getDeserializedValue()
Returns the deserialized merging value. 
 | 
int | 
getFactoryId()
Returns DataSerializableFactory factory ID for this class. 
 | 
int | 
getId()
Returns type identifier for this class. 
 | 
RingbufferMergeData | 
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. 
 | 
RingbufferMergingValueImpl | 
setValues(RingbufferMergeData values)  | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
public RingbufferMergingValueImpl()
public RingbufferMergingValueImpl(SerializationService serializationService)
public RingbufferMergeData getValue()
MergingValuegetValue in interface MergingValue<RingbufferMergeData>public <DV> DV getDeserializedValue()
MergingValuegetDeserializedValue in interface MergingValue<RingbufferMergeData>DV - the type of the deserialized valuepublic RingbufferMergingValueImpl setValues(RingbufferMergeData values)
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 IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.