Project

General

Profile

« Previous | Next » 

Revision 7812

use an independent ISet<SystemMetadata> structure to communicate objects that should be indexed by metacat-index. https://projects.ecoinformatics.org/ecoinfo/issues/5943

View differences:

MetacatHandler.java
1857 1857
                    // save it to the map
1858 1858
                    HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta);
1859 1859
                    
1860
                    // submit for indexing
1861
                    HazelcastService.getInstance().getIndexQueue().add(sysMeta);
1862
                    
1860 1863
                  } catch ( McdbDocNotFoundException dnfe ) {
1861 1864
                    logMetacat.debug(
1862 1865
                      "There was a problem finding the localId " +
......
3036 3039
							
3037 3040
					        // manage it in the store
3038 3041
                            HazelcastService.getInstance().getSystemMetadataMap().put(sm.getIdentifier(), sm);
3042
                            
3043
                            // submit for indexing
3044
                            HazelcastService.getInstance().getIndexQueue().add(sm);
3039 3045
					        
3040 3046
                        } catch (Exception ee) {
3041 3047
                            // If the file did not exist before this method was 

Also available in: Unified diff