Class UserAgent.SharedCtx

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<Integer,​Integer>
    Enclosing class:
    UserAgent

    class UserAgent.SharedCtx
    extends LinkedHashMap<Integer,​Integer>
    This kind of SharedCts (LinkedHashMap) is well-suited to building LRU caches. Note (AF): It seems that only the key is used to determine the context id, the entry value seems never used. This structure is in fact a list of context identifiers whose elements are ordered according to LRU.
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability, fix with 5.15.0 value
        See Also:
        Constant Field Values
    • Constructor Detail

      • SharedCtx

        SharedCtx​(int ctxId,
                  int requestId)