From abd513b18b6271c54c01c42d44453f9c5f241599 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 30 Apr 2008 18:31:16 +0000
Subject: [PATCH] Performance changes to import. Mostly for issue 3161.
---
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/ImportIDSet.java | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/ImportIDSet.java b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/ImportIDSet.java
index 12376ca..fe8c7df 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/ImportIDSet.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/ImportIDSet.java
@@ -85,15 +85,37 @@
int entryLimit, boolean maintainCount);
/**
+ * Merge the specified import ID set with the current import ID set using the
+ * specified entry limit an maintain count values.
+ *
+ * @param bufImportIDSet The import ID set to merge.
+ * @param entryLimit The entry limit to use.
+ * @param maintainCount <CODE>True</CODE> if maintain count is being kept.
+ */
+ public void
+ merge(ImportIDSet bufImportIDSet, int entryLimit, boolean maintainCount);
+
+ /**
* Set the import ID set to the undefined state.
*/
public void setUndefined();
-
/**
* Return the undefined size.
*
* @return The undefined count.
*/
public long getUndefinedSize();
+
+ /**
+ * Reset set.
+ */
+ public void reset();
+
+ /**
+ * Set the first entry ID to the specified entry ID.
+ *
+ * @param entryID The entry ID to use.
+ */
+ public void setEntryID(EntryID entryID);
}
--
Gitblit v1.10.0