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

Interface for store implementations that holds Evictable entries to evict. More...

#include <EvictableStore.h>

Public Member Functions

virtual int evict (std::vector< boost::shared_ptr< EvictionCandidate< MAPKEY, MAPVALUE, A, E > > > *evictionCandidates, EvictionListener< A, E > *evictionListener)
 The evict method is called by the EvictionStrategy to eventually evict, by the policy, selected candidates from the internal data structures. More...
 

Detailed Description

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

Interface for store implementations that holds Evictable entries to evict.

Parameters
<A>Type of the accessor (id) of the com.hazelcast.internal.eviction.EvictionCandidate
<E>Type of the com.hazelcast.internal.eviction.Evictable value of com.hazelcast.internal.eviction.EvictionCandidate

Member Function Documentation

template<typename MAPKEY , typename MAPVALUE , typename A , typename E >
virtual int hazelcast::client::internal::eviction::EvictableStore< MAPKEY, MAPVALUE, A, E >::evict ( std::vector< boost::shared_ptr< EvictionCandidate< MAPKEY, MAPVALUE, A, E > > > *  evictionCandidates,
EvictionListener< A, E > *  evictionListener 
)
inlinevirtual

The evict method is called by the EvictionStrategy to eventually evict, by the policy, selected candidates from the internal data structures.

Parameters
evictionCandidatesMultiple EvictionCandidate to be evicted
evictionListenerEvictionListener to listen evicted entries
Returns
evicted entry count

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