Interface for evaluation implementations of com.hazelcast.config.EvictionPolicy.
More...
#include <EvictionPolicyEvaluator.h>
template<typename MAPKEY, typename MAPVALUE, typename A, typename E>
class hazelcast::client::internal::eviction::EvictionPolicyEvaluator< MAPKEY, MAPVALUE, A, E >
Interface for evaluation implementations of com.hazelcast.config.EvictionPolicy.
- Parameters
-
template<typename MAPKEY, typename MAPVALUE, typename A, typename E>
The evaluate method implements the actual policy rules and is called on every eviction to select one or more candidates to be evicted from the given input set of candidates.
The selection algorithm should execute in a constant time to deliver a predictable timing results of the eviction system.
- Parameters
-
- Returns
- multiple EvictionCandidates that are available to be evicted
template<typename MAPKEY, typename MAPVALUE, typename A, typename E>
The documentation for this class was generated from the following file: