Class CacheEntryCollectionImpl<K,​V>

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

    public class CacheEntryCollectionImpl<K,​V>
    extends Object
    implements org.infinispan.api.common.CacheEntryCollection<K,​V>
    The values used in this class are assumed to be in MILLISECONDS
    Since:
    14.0
    • Constructor Detail

      • CacheEntryCollectionImpl

        public CacheEntryCollectionImpl​(K key,
                                        Collection<V> collection)
      • CacheEntryCollectionImpl

        public CacheEntryCollectionImpl​(K key,
                                        Collection<V> collection,
                                        org.infinispan.api.common.CacheEntryMetadata metadata)
    • Method Detail

      • key

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

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object