K - the type of keyV - the type of valuepublic class MergingEntryHolderImpl<K,V> extends Object implements MergingEntryHolder<K,V>, CreationTimeHolder, IdentifiedDataSerializable
MergingEntryHolder.| Constructor and Description |
|---|
MergingEntryHolderImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCreationTime()
Returns the creation time of the merge data.
|
Object |
getDeserializedKey()
Returns the deserialized merging key.
|
Object |
getDeserializedValue()
Returns the deserialized merging value.
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
K |
getKey()
Returns the merging key in the in-memory format of the backing data structure.
|
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
|
MergingEntryHolderImpl<K,V> |
setCreationTime(long creationTime) |
MergingEntryHolderImpl<K,V> |
setKey(K key) |
void |
setSerializationService(SerializationService serializationService)
Sets the
SerializationService to deserialize the value on demand. |
MergingEntryHolderImpl<K,V> |
setValue(V value) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public K getKey()
MergingEntryHoldergetKey in interface MergingEntryHolder<K,V>public Object getDeserializedKey()
MergingEntryHoldergetDeserializedKey in interface MergingEntryHolder<K,V>public MergingEntryHolderImpl<K,V> setKey(K key)
public V getValue()
MergingValueHoldergetValue in interface MergingValueHolder<V>public Object getDeserializedValue()
MergingValueHoldergetDeserializedValue in interface MergingValueHolder<V>public void setSerializationService(SerializationService serializationService)
MergingValueHolderSerializationService to deserialize the value on demand.setSerializationService in interface MergingValueHolder<V>serializationService - the serialization servicepublic MergingEntryHolderImpl<K,V> setValue(V value)
public long getCreationTime()
CreationTimeHoldergetCreationTime in interface CreationTimeHolderpublic MergingEntryHolderImpl<K,V> setCreationTime(long creationTime)
public 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 © 2018 Hazelcast, Inc.. All Rights Reserved.