Class DefaultDnFactory

    • Field Detail

      • LOG

        private static final org.slf4j.Logger LOG
      • dnCache

        private com.github.benmanes.caffeine.cache.Cache<String,​Dn> dnCache
        The cache for DNs
      • schemaManager

        private SchemaManager schemaManager
        The schema manager
      • enableStats

        private boolean enableStats
        Flag to enable stats
      • hitCount

        private int hitCount
      • missCount

        private int missCount
    • Constructor Detail

      • DefaultDnFactory

        public DefaultDnFactory​(SchemaManager schemaManager,
                                int cacheSize)
        Instantiates a new default Dn factory.
        Parameters:
        schemaManager - The SchemaManager instance
        cacheSize - The cache size used to store DNs