public class LazyCacheEntryView<K,V> extends Object implements CacheEntryView<K,V>
CacheEntryView
 for converting key and value to object when they are touched as lazy.| Constructor and Description | 
|---|
| LazyCacheEntryView(Object key,
                  Object value,
                  long expirationTime,
                  long lastAccessTime,
                  long accessHit) | 
| LazyCacheEntryView(Object key,
                  Object value,
                  long expirationTime,
                  long lastAccessTime,
                  long accessHit,
                  SerializationService serializationService) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getAccessHit()Gets the count of how many time this cache entry has been accessed. | 
| long | getExpirationTime()Gets the expiration time in milliseconds of the cache entry. | 
| K | getKey()Gets the key of the cache entry. | 
| long | getLastAccessTime()Gets the last access time in milliseconds of the cache entry. | 
| V | getValue()Gets the value of the cache entry. | 
public LazyCacheEntryView(Object key, Object value, long expirationTime, long lastAccessTime, long accessHit)
public LazyCacheEntryView(Object key, Object value, long expirationTime, long lastAccessTime, long accessHit, SerializationService serializationService)
public K getKey()
CacheEntryViewgetKey in interface CacheEntryView<K,V>public V getValue()
CacheEntryViewgetValue in interface CacheEntryView<K,V>public long getExpirationTime()
CacheEntryViewgetExpirationTime in interface CacheEntryView<K,V>public long getLastAccessTime()
CacheEntryViewgetLastAccessTime in interface CacheEntryView<K,V>public long getAccessHit()
CacheEntryViewgetAccessHit in interface CacheEntryView<K,V>Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.