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

neil_a_wilson
07.07.2007 5cede67db8c1fea1e4009b99c8aedf1b61c8453d
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
commit5cede67db8c1fea1e4009b99c8aedf1b61c8453d
tree 7f0572cb10d6feb4e452d263564a1595ee167f90 tree | zip | gz
parent 029dd24e36c830e38a74fde00391b8d91fe9f018 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
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ID2Entry.java 13 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ImportThread.java 8 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/JebFormat.java 20 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/CoreMessages.java 57 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/ByteArray.java 127 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/CompressedSchema.java 758 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/Entry.java 972 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/EntryEncodeConfig.java 291 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestJebFormat.java 111 ●●●●● diff | view | raw | blame | history