public class CacheMergingEntryImpl extends Object implements SplitBrainMergeTypes.CacheMergeTypes, SerializationServiceAware, IdentifiedDataSerializable
SplitBrainMergeTypes.CacheMergeTypes.| Constructor and Description | 
|---|
CacheMergingEntryImpl()  | 
CacheMergingEntryImpl(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. 
 | 
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. 
 | 
Data | 
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 
 | 
CacheMergingEntryImpl | 
setCreationTime(long creationTime)  | 
CacheMergingEntryImpl | 
setExpirationTime(long expirationTime)  | 
CacheMergingEntryImpl | 
setHits(long hits)  | 
CacheMergingEntryImpl | 
setKey(Data key)  | 
CacheMergingEntryImpl | 
setLastAccessTime(long lastAccessTime)  | 
void | 
setSerializationService(SerializationService serializationService)
Gets the SerializationService reference injected. 
 | 
CacheMergingEntryImpl | 
setValue(Data value)  | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
public CacheMergingEntryImpl()
public CacheMergingEntryImpl(SerializationService serializationService)
public Data getValue()
MergingValuegetValue in interface MergingValue<Data>public Object getDeserializedValue()
MergingValuegetDeserializedValue in interface MergingValue<Data>public CacheMergingEntryImpl setValue(Data value)
public Data getKey()
MergingEntrygetKey in interface MergingEntry<Data,Data>public Object getDeserializedKey()
MergingEntrygetDeserializedKey in interface MergingEntry<Data,Data>public CacheMergingEntryImpl setKey(Data key)
public long getCreationTime()
MergingCreationTimegetCreationTime in interface MergingCreationTime<Data>public CacheMergingEntryImpl setCreationTime(long creationTime)
public long getExpirationTime()
MergingExpirationTimegetExpirationTime in interface MergingExpirationTime<Data>public CacheMergingEntryImpl setExpirationTime(long expirationTime)
public long getHits()
MergingHitsgetHits in interface MergingHits<Data>public CacheMergingEntryImpl setHits(long hits)
public long getLastAccessTime()
MergingLastAccessTimegetLastAccessTime in interface MergingLastAccessTime<Data>public CacheMergingEntryImpl setLastAccessTime(long lastAccessTime)
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.