Revision 7209
Added by ben leinfelder over 12 years ago
src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java | ||
---|---|---|
181 | 181 |
} |
182 | 182 |
|
183 | 183 |
Hazelcast.init(config); |
184 |
this.hzInstance = Hazelcast.getDefaultInstance();
|
|
184 |
this.hzInstance = Hazelcast.getDefaultInstance();
|
|
185 | 185 |
|
186 | 186 |
logMetacat.debug("Initialized hzInstance"); |
187 | 187 |
|
... | ... | |
213 | 213 |
// Get a reference to the shared identifiers set as a cluster member |
214 | 214 |
// NOTE: this takes a long time to complete |
215 | 215 |
identifiers = Hazelcast.getSet(identifiersSet); |
216 |
logMetacat.debug("got identifiersSet"); |
|
217 |
|
|
216 | 218 |
identifiers.addAll(loadAllKeys()); |
217 |
|
|
218 | 219 |
logMetacat.debug("Initialized identifiers"); |
219 | 220 |
|
220 | 221 |
// Listen for changes to the system metadata map |
... | ... | |
602 | 603 |
|
603 | 604 |
// ALTERNATIVE method: look up all the Identifiers from the table |
604 | 605 |
List<String> guids = IdentifierManager.getInstance().getAllSystemMetadataGUIDs(); |
606 |
logMetacat.warn("Local SystemMetadata pid count: " + pids.size()); |
|
605 | 607 |
for (String guid: guids){ |
606 | 608 |
Identifier pid = new Identifier(); |
607 | 609 |
pid.setValue(guid); |
Also available in: Unified diff
logging for each step of shared identifiers loading.