5.5 - Cache

We use many caches in ApacheDS. Here is a list of all the existing caches :

  • aliasCache<String, DN> : It caches aliases, using the entryUUID as a key (AbstractBTreePartition)
  • piarCache<String, ParentIdAndRdn> : It caches RDN and their parent, using the entryUUID as a key (AbstractBTreePartition)
  • EntryDN cache : Cache Entry’s DN using the entryUUID as a key (AbstractBTreePartition)
  • entryCache (JDBMPartition, MavibotPartition) : Caches the full entries, using their entryUUID as keys.
  • masterTableCache (MavibotPartition) :
  • kdcReplayCache (KdcServer) :
  • changePwdReplayCache (ChangePasswordServer) :
  • groupCache (GroupCache) :
  • dnCache (DefaultDnFactory) :
  • Subentry (SubentryCache) use a ConcurrentHashMap
  • As many caches as we have indexes

To be continued…