title: 5.5 - Cache navPrev: 5.4-replication.html navPrevText: 5.4 - Replication navUp: 5-administration.html navUpText: 5 - Administration navNext: 6-implementing-interceptor.html navNextText: 6 - Implementing a simple custom Interceptor for ApacheDS

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...