public static class GetCacheEntryRequest.CacheBrowserEntryView extends Object implements CacheEntryView<Object,Object>, IdentifiedDataSerializable
| Constructor and Description |
|---|
CacheBrowserEntryView() |
| Modifier and Type | Method and Description |
|---|---|
long |
getAccessHit()
Gets the count of how many time this cache entry has been accessed.
|
long |
getCreationTime()
Gets the creation time of this
EvictableEntryView in milliseconds. |
long |
getExpirationTime()
Gets the expiration time in milliseconds of the cache entry.
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getKey()
Gets the key of the cache entry.
|
long |
getLastAccessTime()
Gets the last access time in milliseconds of the cache entry.
|
Object |
getValue()
Gets the value of the cache entry.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public Object getKey()
CacheEntryViewgetKey in interface CacheEntryView<Object,Object>getKey in interface EvictableEntryView<Object,Object>public Object getValue()
CacheEntryViewgetValue in interface CacheEntryView<Object,Object>getValue in interface EvictableEntryView<Object,Object>public long getExpirationTime()
CacheEntryViewgetExpirationTime in interface CacheEntryView<Object,Object>public long getCreationTime()
EvictableEntryViewEvictableEntryView in milliseconds.getCreationTime in interface EvictableEntryView<Object,Object>EvictableEntryView in millisecondspublic long getLastAccessTime()
CacheEntryViewgetLastAccessTime in interface CacheEntryView<Object,Object>getLastAccessTime in interface EvictableEntryView<Object,Object>public long getAccessHit()
CacheEntryViewgetAccessHit in interface CacheEntryView<Object,Object>getAccessHit in interface EvictableEntryView<Object,Object>public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic 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.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.