Class XCache<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable

    public final class XCache<K,​V>
    extends XBaseObject
    See Also:
    Serialized Form
    • Constructor Detail

      • XCache

        public XCache​(java.lang.String name)
    • Method Detail

      • get

        public V get​(K key,
                     java.util.function.Supplier<V> func)
      • get

        public V get​(K key,
                     java.util.function.Supplier<V> func,
                     boolean isForceLoad)
      • put

        public void put​(K key,
                        V value)
      • size

        public java.lang.Long size()
      • sizeNull

        public java.lang.Long sizeNull()
      • getName

        public java.lang.String getName()
      • getSizeMax

        public java.lang.Integer getSizeMax()
      • getSetExpire

        public java.lang.Integer getSetExpire()
      • getSizeMaxNull

        public java.lang.Integer getSizeMaxNull()
      • getSecExpireNull

        public java.lang.Integer getSecExpireNull()
      • getIsProfiler

        public java.lang.Boolean getIsProfiler()