Serialized Form

  • Package org.jxmpp.util.cache

    • Class org.jxmpp.util.cache.LruCache

      class LruCache extends LinkedHashMap<K,V> implements Serializable
      serialVersionUID:
      -4980809402073634607L
      • Serialized Fields

        • cacheHits
          AtomicLong cacheHits
          Maintain the number of cache hits and misses. A cache hit occurs every time the get method is called and the cache contains the requested object. A cache miss represents the opposite occurrence.

          Keeping track of cache hits and misses lets one measure how efficient the cache is; the higher the percentage of hits, the more efficient.

        • cacheMisses
          AtomicLong cacheMisses
        • maxCacheSize
          int maxCacheSize
          Maximum number of items the cache will hold.