mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
07.07.2007 8395e95048f9670f0889eb1b0518d1595f01dd07
refs
author neil_a_wilson <neil_a_wilson@localhost>
Thursday, June 7, 2007 22:07 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Thursday, June 7, 2007 22:07 +0200
commit8395e95048f9670f0889eb1b0518d1595f01dd07
tree ae483c8a1a9a4aa6ac9e591912eb8e1bfa432307 tree | zip | gz
parent 64fa74f41fbab8aaca206be769bc4d26cd604009 view | diff
Provide a new mechanism for encoding entries.  This method adds an extra
element that includes flags that indicate how the entry was encoded. The
flags currently defined include:

- Whether to exclude the DN from the encoded entry. This may be useful for the
filesystem entry cache, since it will already have a reference to the DN.

- Whether to compress the set of object classes contained in the entry with a
binary token.

- Whether to compress the attribute descriptions in the entry with binary
tokens.

These changes can help improve the encode/decode performance, and can reduce
the entry footprint (by about 30% for entries based on the example.template).
None of these options are enabled at the present time, but components which
call the Entry.encode() method will be able to indicate which of them should be
used for that entry.

OpenDS Issue Numbers: 660, 1675, 1770
3 files added
7 files modified
2366 ■■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/ID2Entry.java 13 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/ImportThread.java 8 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/JebFormat.java 20 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/config/ConfigConstants.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/CoreMessages.java 57 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/ByteArray.java 127 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/CompressedSchema.java 758 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/Entry.java 972 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/EntryEncodeConfig.java 291 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestJebFormat.java 111 ●●●●● diff | view | raw | blame | history