public static class GetCacheEntryRequest.CacheBrowserEntryView extends Object implements CacheEntryView<Object,Object>, IdentifiedDataSerializable, Versioned
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.
|
javax.cache.expiry.ExpiryPolicy |
getExpiryPolicy()
Gets the expiry policy associated with this entry if there is one.
|
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 javax.cache.expiry.ExpiryPolicy getExpiryPolicy()
CacheEntryView
getExpiryPolicy
in interface CacheEntryView<Object,Object>
null
if there is nonepublic 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
- 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
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.