title: Hazelcast: set max size, eviction policy on ReplicatedMap
body: <p>This is my first time working with Hazelcast. I am trying to configure a Hazelcast cluster for my application. For our use case, I need to define multiple replicatedmap's in my application.</p>
  
  <p>I have read through the documentation (<a href="http://docs.hazelcast.org/docs/latest-dev/manual/html-single/index.html#replicated-map" rel="nofollow noreferrer">http://docs.hazelcast.org/docs/latest-dev/manual/html-single/index.html#replicated-map</a>) and the actual implementation of ReplicatedMap (<a href="https://github.com/hazelcast/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/config/ReplicatedMapConfig.java" rel="nofollow noreferrer">https://github.com/hazelcast/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/config/ReplicatedMapConfig.java</a>) provided by Hazelcast.</p>
  
  <p>My question is, just like the Hazelcast Map, which provides us means to configure max size, eviction policy, etc. for the Distributed Map, how do we specify the same properties for a replicated map? </p>
  
  <p>I did not see any way to specify the max size and eviction policy in the replicatedmap. We cannot let the Replicated Map grow as much as it can.</p>
  
  <p>I appreciate any pointers to get me going on this. Thanks in advance.</p>