public class MapMergingEntryImpl extends Object implements SplitBrainMergeTypes.MapMergeTypes, SerializationServiceAware, IdentifiedDataSerializable, Versioned
SplitBrainMergeTypes.MapMergeTypes.| Constructor and Description | 
|---|
MapMergingEntryImpl()  | 
MapMergingEntryImpl(SerializationService serializationService)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
long | 
getCost()
Returns the memory cost of the merge data. 
 | 
long | 
getCreationTime()
Returns the creation time of the merge data. 
 | 
Object | 
getDeserializedKey()
Returns the deserialized merging key. 
 | 
Object | 
getDeserializedValue()
Returns the deserialized merging value. 
 | 
long | 
getExpirationTime()
Returns the expiration time of the merge data. 
 | 
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 | 
getLastStoredTime()
Returns the last stored time of the merge data. 
 | 
long | 
getLastUpdateTime()
Returns the last update time of the merge data. 
 | 
Long | 
getMaxIdle()
Returns the MaxIdle of the merge data. 
 | 
long | 
getTtl()
Returns the TTL of the merge data. 
 | 
Data | 
getValue()
Returns the merging value in the in-memory format of the backing data structure. 
 | 
long | 
getVersion()
Returns the version of the merge data. 
 | 
int | 
hashCode()  | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
MapMergingEntryImpl | 
setCost(long cost)  | 
MapMergingEntryImpl | 
setCreationTime(long creationTime)  | 
MapMergingEntryImpl | 
setExpirationTime(long expirationTime)  | 
MapMergingEntryImpl | 
setHits(long hits)  | 
MapMergingEntryImpl | 
setKey(Data key)  | 
MapMergingEntryImpl | 
setLastAccessTime(long lastAccessTime)  | 
MapMergingEntryImpl | 
setLastStoredTime(long lastStoredTime)  | 
MapMergingEntryImpl | 
setLastUpdateTime(long lastUpdateTime)  | 
MapMergingEntryImpl | 
setMaxIdle(Long maxIdle)  | 
void | 
setSerializationService(SerializationService serializationService)
Gets the SerializationService reference injected. 
 | 
MapMergingEntryImpl | 
setTtl(long ttl)  | 
MapMergingEntryImpl | 
setValue(Data value)  | 
MapMergingEntryImpl | 
setVersion(long version)  | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
public MapMergingEntryImpl()
public MapMergingEntryImpl(SerializationService serializationService)
public Data getValue()
MergingValuegetValue in interface MergingValue<Data>public Object getDeserializedValue()
MergingValuegetDeserializedValue in interface MergingValue<Data>public MapMergingEntryImpl setValue(Data value)
public Data getKey()
MergingEntrygetKey in interface MergingEntry<Data,Data>public Object getDeserializedKey()
MergingEntrygetDeserializedKey in interface MergingEntry<Data,Data>public MapMergingEntryImpl setKey(Data key)
public long getCost()
MergingCostsgetCost in interface MergingCosts<Data>public MapMergingEntryImpl setCost(long cost)
public long getCreationTime()
MergingCreationTimegetCreationTime in interface MergingCreationTime<Data>public MapMergingEntryImpl setCreationTime(long creationTime)
public long getExpirationTime()
MergingExpirationTimegetExpirationTime in interface MergingExpirationTime<Data>public MapMergingEntryImpl setExpirationTime(long expirationTime)
public long getHits()
MergingHitsgetHits in interface MergingHits<Data>public MapMergingEntryImpl setHits(long hits)
public long getLastAccessTime()
MergingLastAccessTimegetLastAccessTime in interface MergingLastAccessTime<Data>public MapMergingEntryImpl setLastAccessTime(long lastAccessTime)
public long getLastStoredTime()
MergingLastStoredTimegetLastStoredTime in interface MergingLastStoredTime<Data>public MapMergingEntryImpl setLastStoredTime(long lastStoredTime)
public long getLastUpdateTime()
MergingLastUpdateTimegetLastUpdateTime in interface MergingLastUpdateTime<Data>public MapMergingEntryImpl setLastUpdateTime(long lastUpdateTime)
public long getVersion()
MergingVersiongetVersion in interface MergingVersion<Data>public MapMergingEntryImpl setVersion(long version)
public long getTtl()
MergingTTLgetTtl in interface MergingTTL<Data>public MapMergingEntryImpl setTtl(long ttl)
public Long getMaxIdle()
MergingMaxIdlegetMaxIdle in interface MergingMaxIdle<Data>public MapMergingEntryImpl setMaxIdle(Long maxIdle)
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.