Class CacheEntryImpl<K,​V>

  • All Implemented Interfaces:
    org.infinispan.api.common.CacheEntry<K,​V>

    public class CacheEntryImpl<K,​V>
    extends Object
    implements org.infinispan.api.common.CacheEntry<K,​V>
    Since:
    14.0
    • Constructor Detail

      • CacheEntryImpl

        public CacheEntryImpl​(K k,
                              V v,
                              org.infinispan.api.common.CacheEntryMetadata metadata)
    • Method Detail

      • key

        public K key()
        Specified by:
        key in interface org.infinispan.api.common.CacheEntry<K,​V>
      • value

        public V value()
        Specified by:
        value in interface org.infinispan.api.common.CacheEntry<K,​V>
      • metadata

        public org.infinispan.api.common.CacheEntryMetadata metadata()
        Specified by:
        metadata in interface org.infinispan.api.common.CacheEntry<K,​V>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object