Project

General

Profile

« Previous | Next » 

Revision 7411

add count for the total processed pids (from ISet iterator)

View differences:

src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java
521 521
				
522 522
		// only contribute PIDs that are not already shared
523 523
		Iterator<Identifier> idIter = identifiers.iterator();
524
		int processedCount = 0;
524 525
		while (idIter.hasNext()) {
525 526
			Identifier pid = idIter.next();
526 527
			if (localIdKeys.contains(pid)) {
......
530 531
				// we don't have this locally, so we should try to get it
531 532
				missingIdKeys.add(pid);
532 533
			}
534
			processedCount++;
533 535
		}
536
		logMetacat.warn("processedCount (identifiers from iterator): " + processedCount);
537

  
534 538
		logMetacat.warn("local pid count not yet shared: " + localIdKeys.size() + ", shared pid count: " + identifiers.size());
535 539

  
536 540
		//identifiers.addAll(idKeys);

Also available in: Unified diff