R
- Type of record to construct EntryView
over it.public class LazyEntryViewFromRecord<R extends Record> extends SampleableConcurrentHashMap.SamplingEntry implements EntryView
Constructor and Description |
---|
LazyEntryViewFromRecord(R record,
SerializationService serializationService) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getCost()
Returns the cost (in bytes) of the entry.
|
long |
getCreationTime()
Returns the creation time of the entry.
|
long |
getExpirationTime()
Returns the expiration time of the entry.
|
long |
getHits()
Returns number of hits of the entry.
|
Object |
getKey()
Returns the key of the entry.
|
long |
getLastAccessTime()
Returns the last access time for the entry.
|
long |
getLastStoredTime()
Returns the last time the value was flushed to its store (e.g.
|
long |
getLastUpdateTime()
Returns the last time the value was updated.
|
Long |
getMaxIdle()
Returns the last set max idle time in milliseconds.
|
Record |
getRecord() |
long |
getTtl()
Returns the last set time to live in milliseconds.
|
Object |
getValue()
Returns the value of the entry.
|
long |
getVersion()
Returns the version of the entry.
|
int |
hashCode() |
String |
toString() |
getEntryKey, getEntryValue
public LazyEntryViewFromRecord(R record, SerializationService serializationService)
public Object getKey()
EntryView
public Object getValue()
EntryView
public long getCost()
EntryView
Warning: This method returns -1
if statistics are not enabled or not implemented.
public long getCreationTime()
EntryView
Warning: This method returns -1
if statistics are not enabled or not implemented.
getCreationTime
in interface EntryView
public long getExpirationTime()
EntryView
getExpirationTime
in interface EntryView
public long getHits()
EntryView
Warning: This method returns -1
if statistics are not enabled or not implemented.
public long getLastAccessTime()
EntryView
Warning: This method returns -1
if statistics are not enabled or not implemented.
getLastAccessTime
in interface EntryView
public long getLastStoredTime()
EntryView
MapStore
).
Warning: This method returns -1
if statistics are not enabled or not implemented.
getLastStoredTime
in interface EntryView
public long getLastUpdateTime()
EntryView
Warning: This method returns -1
if statistics are not enabled or not implemented.
getLastUpdateTime
in interface EntryView
public long getVersion()
EntryView
getVersion
in interface EntryView
public long getTtl()
EntryView
public Long getMaxIdle()
EntryView
getMaxIdle
in interface EntryView
public Record getRecord()
public boolean equals(Object o)
equals
in class SampleableConcurrentHashMap.SamplingEntry
public int hashCode()
hashCode
in class SampleableConcurrentHashMap.SamplingEntry
public String toString()
toString
in class SampleableConcurrentHashMap.SamplingEntry
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.