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

Provider to get any kind (EvictionStrategyType) of EvictionStrategy. More...

#include <EvictionStrategyProvider.h>

Static Public Member Functions

static boost::shared_ptr< EvictionStrategy< MAPKEY, MAPVALUE, A, E, S > > getEvictionStrategy (const boost::shared_ptr< EvictionConfiguration< MAPKEY, MAPVALUE > > &evictionConfig)
 Gets the EvictionStrategy implementation specified with evictionStrategyType. More...
 
static boost::shared_ptr< EvictionStrategy< MAPKEY, MAPVALUE, A, E, S > > & getDefaultEvictionStrategy ()
 Gets the default EvictionStrategy implementation. More...
 
static std::map< EvictionStrategyType::Type, boost::shared_ptr< EvictionStrategy< MAPKEY, MAPVALUE, A, E, S > > > init ()
 

Detailed Description

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

Provider to get any kind (EvictionStrategyType) of EvictionStrategy.

Member Function Documentation

template<typename MAPKEY , typename MAPVALUE , typename A , typename E , typename S >
static boost::shared_ptr<EvictionStrategy<MAPKEY, MAPVALUE, A, E, S> >& hazelcast::client::internal::eviction::EvictionStrategyProvider< MAPKEY, MAPVALUE, A, E, S >::getDefaultEvictionStrategy ( )
inlinestatic

Gets the default EvictionStrategy implementation.

Returns
the default EvictionStrategy implementation
template<typename MAPKEY , typename MAPVALUE , typename A , typename E , typename S >
static boost::shared_ptr<EvictionStrategy<MAPKEY, MAPVALUE, A, E, S> > hazelcast::client::internal::eviction::EvictionStrategyProvider< MAPKEY, MAPVALUE, A, E, S >::getEvictionStrategy ( const boost::shared_ptr< EvictionConfiguration< MAPKEY, MAPVALUE > > &  evictionConfig)
inlinestatic

Gets the EvictionStrategy implementation specified with evictionStrategyType.

Parameters
evictionConfigEvictionConfiguration for the requested EvictionStrategy implementation
Returns
the requested EvictionStrategy implementation

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