// TODO RPr: Discuss if the other strategies make sense here.
// In my opinion NoteCollection does work UNTIL the next compact task runs.
// So it makes NO sense to serialize NoteIDs!
} else if (value instanceof DocumentCollection) {
// NoteIDs would be faster for this and, particularly, NoteCollection, but it should be replica-friendly
DocumentCollection docs = (DocumentCollection) value;
String[] unids = new String[docs.getCount()];
int index = 0;
for (org.openntf.domino.Document doc : docs) {
unids[index++] = doc.getUniversalID();
}
Map<String, String> headers = new HashMap<String, String>(1);