CacheLruEvictionPolicy -> LruEvictionPolicy in docs ?

classic Classic list List threaded Threaded
2 messages Options
cachenbach cachenbach
Reply | Threaded
Open this post in threaded view
|

CacheLruEvictionPolicy -> LruEvictionPolicy in docs ?

This post has NOT been accepted by the mailing list yet.
Hello,

is there a small typing error in the documentation?: https://apacheignite.readme.io/v1.0/docs/evictions#least-recently-used-lru

// Set the maximum cache size to 1 million (default is 100,000).
cacheCfg.setEvictionPolicy(new CacheLruEvictionPolicy(1000000);


Should it not be like this?:
cacheCfg.setEvictionPolicy(new LruEvictionPolicy(1000000));

Thanks!
 Christian
yakov yakov
Reply | Threaded
Open this post in threaded view
|

Re: CacheLruEvictionPolicy -> LruEvictionPolicy in docs ?

We have fixed with the suggestions you attached to readme.io page. Thank you!