public class ReplicatedMapMergingEntryImpl extends Object implements SplitBrainMergeTypes.ReplicatedMapMergeTypes, SerializationServiceAware, IdentifiedDataSerializable
SplitBrainMergeTypes.ReplicatedMapMergeTypes.| Constructor and Description | 
|---|
ReplicatedMapMergingEntryImpl()  | 
ReplicatedMapMergingEntryImpl(SerializationService serializationService)  | 
| 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. 
 | 
long | 
getHits()
Returns the access hits of the merge data. 
 | 
int | 
getId()
Returns type identifier for this class. 
 | 
Object | 
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. 
 | 
long | 
getTtl()
Returns the TTL of the merge data. 
 | 
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 
 | 
ReplicatedMapMergingEntryImpl | 
setCreationTime(long creationTime)  | 
ReplicatedMapMergingEntryImpl | 
setHits(long hits)  | 
ReplicatedMapMergingEntryImpl | 
setKey(Object key)  | 
ReplicatedMapMergingEntryImpl | 
setLastAccessTime(long lastAccessTime)  | 
ReplicatedMapMergingEntryImpl | 
setLastUpdateTime(long lastUpdateTime)  | 
void | 
setSerializationService(SerializationService serializationService)
Gets the SerializationService reference injected. 
 | 
ReplicatedMapMergingEntryImpl | 
setTtl(long ttl)  | 
ReplicatedMapMergingEntryImpl | 
setValue(Object value)  | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
public ReplicatedMapMergingEntryImpl()
public ReplicatedMapMergingEntryImpl(SerializationService serializationService)
public Object getValue()
MergingValuegetValue in interface MergingValue<Object>public Object getDeserializedValue()
MergingValuegetDeserializedValue in interface MergingValue<Object>public ReplicatedMapMergingEntryImpl setValue(Object value)
public Object getKey()
MergingEntrygetKey in interface MergingEntry<Object,Object>public Object getDeserializedKey()
MergingEntrygetDeserializedKey in interface MergingEntry<Object,Object>public ReplicatedMapMergingEntryImpl setKey(Object key)
public long getCreationTime()
MergingCreationTimegetCreationTime in interface MergingCreationTime<Object>public ReplicatedMapMergingEntryImpl setCreationTime(long creationTime)
public long getHits()
MergingHitsgetHits in interface MergingHits<Object>public ReplicatedMapMergingEntryImpl setHits(long hits)
public long getLastAccessTime()
MergingLastAccessTimegetLastAccessTime in interface MergingLastAccessTime<Object>public ReplicatedMapMergingEntryImpl setLastAccessTime(long lastAccessTime)
public long getLastUpdateTime()
MergingLastUpdateTimegetLastUpdateTime in interface MergingLastUpdateTime<Object>public ReplicatedMapMergingEntryImpl setLastUpdateTime(long lastUpdateTime)
public long getTtl()
MergingTTLgetTtl in interface MergingTTL<Object>public ReplicatedMapMergingEntryImpl setTtl(long ttl)
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.