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

neil_a_wilson
19.29.2006 503ac0537eee2b1126bc45d710cc678909f0289d
refs
author neil_a_wilson <neil_a_wilson@localhost>
Wednesday, July 19, 2006 00:29 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Wednesday, July 19, 2006 00:29 +0200
commit503ac0537eee2b1126bc45d710cc678909f0289d
tree 324140a68fb8a336d08631ece37688a10b9dd4ea tree | zip | gz
parent d0ec8721f5e2963e994679b185c876de878c5c3d view | diff
Update the FIFO and soft reference entry cache implementations to convert the
lock timeout attribute to use an integer with unit syntax rather than just an
integer.

Also, update the FIFO entry cache implementation to get rid of the calls to run
the garbage collector. Instead, if we detect that too much memory is being
used, we'll not store the new entry and get rid of an old entry. This is much
more palatable in terms of performance and response time when the cache gets
full.
3 files modified
351 ■■■■ changed files
opendj-sdk/opends/resource/schema/02-config.ldif 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java 280 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/SoftReferenceEntryCache.java 69 ●●●●● diff | view | raw | blame | history