Hazelcast C++ Client
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
hazelcast::client::internal::eviction::EvictableEntryView< K, V > Class Template Referenceabstract

Contract point (from the end user perspective) for serving/accessing entries that can be evicted. More...

#include <EvictableEntryView.h>

Public Member Functions

virtual int64_t getCreationTime () const =0
 Gets the creation time of this EvictableEntryView in milliseconds. More...
 
virtual int64_t getLastAccessTime () const =0
 Gets the latest access time difference of this EvictableEntryView in milliseconds. More...
 
virtual int64_t getAccessHit () const =0
 Gets the access hit count of this EvictableEntryView. More...
 
virtual boost::shared_ptr< K > getKey () const
 Gets the key of the entry. More...
 
virtual boost::shared_ptr< V > getValue () const
 Gets the value of the entry. More...
 

Detailed Description

template<typename K, typename V>
class hazelcast::client::internal::eviction::EvictableEntryView< K, V >

Contract point (from the end user perspective) for serving/accessing entries that can be evicted.

Parameters
<K>the type of the key
<V>the type of the value

Member Function Documentation

template<typename K, typename V>
virtual int64_t hazelcast::client::internal::eviction::EvictableEntryView< K, V >::getAccessHit ( ) const
pure virtual

Gets the access hit count of this EvictableEntryView.

Returns
the access hit count of this EvictableEntryView
template<typename K, typename V>
virtual int64_t hazelcast::client::internal::eviction::EvictableEntryView< K, V >::getCreationTime ( ) const
pure virtual

Gets the creation time of this EvictableEntryView in milliseconds.

Returns
the creation time of this EvictableEntryView in milliseconds
template<typename K, typename V>
virtual boost::shared_ptr<K> hazelcast::client::internal::eviction::EvictableEntryView< K, V >::getKey ( ) const
inlinevirtual

Gets the key of the entry.

Returns
the key of the entry
template<typename K, typename V>
virtual int64_t hazelcast::client::internal::eviction::EvictableEntryView< K, V >::getLastAccessTime ( ) const
pure virtual

Gets the latest access time difference of this EvictableEntryView in milliseconds.

Returns
the latest access time of this EvictableEntryView in milliseconds
template<typename K, typename V>
virtual boost::shared_ptr<V> hazelcast::client::internal::eviction::EvictableEntryView< K, V >::getValue ( ) const
inlinevirtual

Gets the value of the entry.

Returns
the value of the entry

The documentation for this class was generated from the following file: