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()
CacheEntryView
getKey
in interface CacheEntryView<Object,Object>
getKey
in interface EvictableEntryView<Object,Object>
public Object getValue()
CacheEntryView
getValue
in interface CacheEntryView<Object,Object>
getValue
in interface EvictableEntryView<Object,Object>
public long getExpirationTime()
CacheEntryView
getExpirationTime
in interface CacheEntryView<Object,Object>
public long getCreationTime()
EvictableEntryView
EvictableEntryView
in milliseconds.getCreationTime
in interface EvictableEntryView<Object,Object>
EvictableEntryView
in millisecondspublic long getLastAccessTime()
CacheEntryView
getLastAccessTime
in interface CacheEntryView<Object,Object>
getLastAccessTime
in interface EvictableEntryView<Object,Object>
public long getAccessHit()
CacheEntryView
getAccessHit
in interface CacheEntryView<Object,Object>
getAccessHit
in interface EvictableEntryView<Object,Object>
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.