Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::internal::eviction::Evictable< V > Class Template Referenceabstract

Interface for entries, records or whatever that can be evicted. More...

#include <Evictable.h>

+ Inheritance diagram for hazelcast::client::internal::eviction::Evictable< V >:

Public Member Functions

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

Detailed Description

template<typename V>
class hazelcast::client::internal::eviction::Evictable< V >

Interface for entries, records or whatever that can be evicted.

Member Function Documentation

template<typename V >
virtual int32_t hazelcast::client::internal::eviction::Evictable< V >::getAccessHit ( )
pure virtual

Gets the access hit count of this Evictable.

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

Gets the creation time of this Evictable in milliseconds.

Returns
the creation time of this Evictable in milliseconds
template<typename V >
virtual int64_t hazelcast::client::internal::eviction::Evictable< V >::getLastAccessTime ( )
pure virtual

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

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

Gets the value of this Evictable.

Returns
the value of this Evictable

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