public class MultiMapMergingEntryImpl extends Object implements SplitBrainMergeTypes.MultiMapMergeTypes, SerializationServiceAware, IdentifiedDataSerializable
SplitBrainMergeTypes.MultiMapMergeTypes.| Constructor and Description |
|---|
MultiMapMergingEntryImpl() |
MultiMapMergingEntryImpl(SerializationService serializationService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCreationTime()
Returns the creation time of the merge data.
|
<DK> DK |
getDeserializedKey()
Returns the deserialized merging key.
|
<DV> DV |
getDeserializedValue()
Returns the deserialized merging value.
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
long |
getHits()
Returns the access hits of the merge data.
|
int |
getId()
Returns type identifier for this class.
|
Data |
getKey()
Returns the merging key in the in-memory format of the backing data structure.
|
long |
getLastAccessTime()
Returns the last access time of the merge data.
|
long |
getLastUpdateTime()
Returns the last update time of the merge data.
|
Collection<Object> |
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
|
MultiMapMergingEntryImpl |
setCreationTime(long creationTime) |
MultiMapMergingEntryImpl |
setHits(long hits) |
MultiMapMergingEntryImpl |
setKey(Data key) |
MultiMapMergingEntryImpl |
setLastAccessTime(long lastAccessTime) |
MultiMapMergingEntryImpl |
setLastUpdateTime(long lastUpdateTime) |
void |
setSerializationService(SerializationService serializationService)
Gets the SerializationService reference injected.
|
MultiMapMergingEntryImpl |
setValues(Collection<Object> values) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public MultiMapMergingEntryImpl()
public MultiMapMergingEntryImpl(SerializationService serializationService)
public Data getKey()
MergingEntrygetKey in interface MergingEntry<Data,Collection<Object>>public <DK> DK getDeserializedKey()
MergingEntrygetDeserializedKey in interface MergingEntry<Data,Collection<Object>>DK - the type of the deserialized keypublic MultiMapMergingEntryImpl setKey(Data key)
public Collection<Object> getValue()
MergingValuegetValue in interface MergingValue<Collection<Object>>public <DV> DV getDeserializedValue()
MergingValuegetDeserializedValue in interface MergingValue<Collection<Object>>DV - the type of the deserialized valuepublic MultiMapMergingEntryImpl setValues(Collection<Object> values)
public long getCreationTime()
MergingCreationTimegetCreationTime in interface MergingCreationTime<Collection<Object>>public MultiMapMergingEntryImpl setCreationTime(long creationTime)
public long getHits()
MergingHitsgetHits in interface MergingHits<Collection<Object>>public MultiMapMergingEntryImpl setHits(long hits)
public long getLastAccessTime()
MergingLastAccessTimegetLastAccessTime in interface MergingLastAccessTime<Collection<Object>>public MultiMapMergingEntryImpl setLastAccessTime(long lastAccessTime)
public long getLastUpdateTime()
MergingLastUpdateTimegetLastUpdateTime in interface MergingLastUpdateTime<Collection<Object>>public MultiMapMergingEntryImpl setLastUpdateTime(long lastUpdateTime)
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 © 2018 Hazelcast, Inc.. All Rights Reserved.