Project

General

Profile

« Previous | Next » 

Revision 7842

only use MapStore/MapLoader for saving/loading IndexEvent objects. No need to use a listener since there is only the single node -- all entries are persisted to DB using the hazelcast.xml config we have for the map. https://projects.ecoinformatics.org/ecoinfo/issues/5944

View differences:

hazelcast.xml
89 89
    <eviction-percentage>25</eviction-percentage>
90 90
    <merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
91 91
    <map-store enabled="true">
92
      <class-name>edu.ucsb.nceas.metacat.index.IndexEventEntryListener</class-name>
92
      <class-name>edu.ucsb.nceas.metacat.index.IndexEventMapStore</class-name>
93 93
      <write-delay-seconds>0</write-delay-seconds>
94 94
    </map-store>
95 95
  </map>

Also available in: Unified diff