Class ListenerContext<K,​V>

    • Method Detail

      • getName

        public String getName()
        Description copied from interface: CacheInfo
        Returns the cache name.
        Specified by:
        getName in interface CacheInfo
        Returns:
        the cache name
      • getMaxSize

        public int getMaxSize()
        Description copied from interface: CacheInfo
        Returns the cache max size.
        Specified by:
        getMaxSize in interface CacheInfo
        Returns:
        the max size
      • getLiveTime

        public long getLiveTime()
        Description copied from interface: CacheInfo
        Returns the cache entry life time in seconds.
        Specified by:
        getLiveTime in interface CacheInfo
        Returns:
        the life time
      • getSize

        public int getSize()
        Description copied from interface: CacheInfo
        Returns the cache size.
        Specified by:
        getSize in interface CacheInfo
        Returns:
        the size
      • onExpire

        public void onExpire​(K key,
                             V obj)
      • onRemove

        public void onRemove​(K key,
                             V obj)
      • onPut

        public void onPut​(K key,
                          V obj)
      • onPutLocal

        public void onPutLocal​(K key,
                               V obj)
      • onGet

        public void onGet​(K key,
                          V obj)
      • onClearCache

        public void onClearCache()