Project

General

Profile

« Previous | Next » 

Revision 6485

Added by Chris Jones over 13 years ago

Add in the hzObjectPath map to the hazelcast config file for a local deployment. Enable the MapStore impl for both maps.

View differences:

lib/hazelcast.xml
66 66
    <max-size policy="cluster_wide_map_size">0</max-size>
67 67
    <eviction-percentage>25</eviction-percentage>
68 68
    <merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
69
    <map-store enabled="false">
69
    <map-store enabled="true">
70 70
      <class-name>edu.ucsb.nceas.metacat.dataone.hazelcast.SystemMetadataMap</class-name>
71 71
      <write-delay-seconds>0</write-delay-seconds>
72 72
    </map-store>
73 73
  </map>
74
  <map name="hzObjectPath">
75
    <backup-count>3</backup-count>
76
    <eviction-policy>NONE</eviction-policy>
77
    <max-size policy="cluster_wide_map_size">0</max-size>
78
    <eviction-percentage>25</eviction-percentage>
79
    <merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
80
    <map-store enabled="true">
81
      <class-name>edu.ucsb.nceas.metacat.dataone.hazelcast.ObjectPathMap</class-name>
82
      <write-delay-seconds>0</write-delay-seconds>
83
    </map-store>
84
  </map>
74 85
</hazelcast>

Also available in: Unified diff