Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::internal::eviction::EvictionCandidate< MAPKEY, MAPVALUE, A, E > Class Template Reference

Interface for entries, records or whatever that can be evictable via its accessor (key or id). More...

#include <EvictionCandidate.h>

+ Inheritance diagram for hazelcast::client::internal::eviction::EvictionCandidate< MAPKEY, MAPVALUE, A, E >:

Public Member Functions

virtual boost::shared_ptr< A > getAccessor () const
 The accessor (key or id) of Evictable entry or record or whatever. More...
 
virtual boost::shared_ptr< E > getEvictable () const
 The value of Evictable entry or record or whatever. More...
 
- Public Member Functions inherited from hazelcast::client::internal::eviction::EvictableEntryView< MAPKEY, MAPVALUE >
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< MAPKEY > getKey () const
 Gets the key of the entry. More...
 
virtual boost::shared_ptr< MAPVALUE > getValue () const
 Gets the value of the entry. More...
 

Detailed Description

template<typename MAPKEY, typename MAPVALUE, typename A, typename E>
class hazelcast::client::internal::eviction::EvictionCandidate< MAPKEY, MAPVALUE, A, E >

Interface for entries, records or whatever that can be evictable via its accessor (key or id).

Parameters
<A>Type of the accessor
<E>Type of the Evictable value

Member Function Documentation

template<typename MAPKEY , typename MAPVALUE , typename A , typename E >
virtual boost::shared_ptr<A> hazelcast::client::internal::eviction::EvictionCandidate< MAPKEY, MAPVALUE, A, E >::getAccessor ( ) const
inlinevirtual

The accessor (key or id) of Evictable entry or record or whatever.

Returns
the accessor (key or id) of Evictable entry or record or whatever
template<typename MAPKEY , typename MAPVALUE , typename A , typename E >
virtual boost::shared_ptr<E> hazelcast::client::internal::eviction::EvictionCandidate< MAPKEY, MAPVALUE, A, E >::getEvictable ( ) const
inlinevirtual

The value of Evictable entry or record or whatever.

Returns
the value of Evictable entry or record or whatever

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