public abstract class HiDensityNearCacheRecord extends HiDensityRecord implements com.hazelcast.internal.nearcache.NearCacheRecord<NativeMemoryData>
NearCacheRecord implementations for Hi-Density Near Cache.
Record of HiDensityNearCacheRecordStore.HiDensityRecord,
NearCacheRecord,
NativeMemoryData,
HiDensityNearCacheRecordStore| Constructor and Description |
|---|
HiDensityNearCacheRecord(com.hazelcast.internal.memory.GlobalMemoryAccessor memoryAccessor) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getAccessTimeDiff()
Gets the access time difference which represents the passed time since previous access
of this
HiDensityNearCacheRecord in milliseconds. |
abstract int |
getTtlMillis()
Gets the TTL value of this
HiDensityNearCacheRecord in milliseconds. |
abstract void |
setAccessTimeDiff(int time)
Sets the access time difference which represents the passed time since previous access
of this
HiDensityNearCacheRecord in milliseconds. |
abstract void |
setTtlMillis(int ttl)
Sets the TTL value of this
HiDensityNearCacheRecord in milliseconds. |
clear, getSequence, getValueAddress, reset, setValueAddressaddress, copyFrom, copyFromByteArray, copyTo, copyToByteArray, equals, hashCode, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, setAddress, setSize, size, toString, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShort, zeroclone, finalize, getClass, notify, notifyAll, wait, wait, waitcasRecordState, getInvalidationSequence, getPartitionId, getRecordState, hasSameUuid, incrementAccessHit, isIdleAt, resetAccessHit, setAccessHit, setAccessTime, setCreationTime, setInvalidationSequence, setPartitionId, setUuid, setValuepublic HiDensityNearCacheRecord(com.hazelcast.internal.memory.GlobalMemoryAccessor memoryAccessor)
public abstract int getAccessTimeDiff()
HiDensityNearCacheRecord in milliseconds.HiDensityNearCacheRecord in milliseconds.public abstract void setAccessTimeDiff(int time)
HiDensityNearCacheRecord in milliseconds.time - the access time difference of this HiDensityNearCacheRecord in milliseconds.public abstract int getTtlMillis()
HiDensityNearCacheRecord in milliseconds.HiDensityNearCacheRecord in milliseconds.public abstract void setTtlMillis(int ttl)
HiDensityNearCacheRecord in milliseconds.ttl - the TTL value for this HiDensityNearCacheRecord in milliseconds.Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.