Class CollectionFactory


  • @Deprecated
    public class CollectionFactory
    extends Object
    Deprecated.
    since 10.0, will be removed in future Infinispan versions
    A factory for ConcurrentMaps.
    Since:
    5.1
    Author:
    Manik Surtani, Galder ZamarreƱo
    • Constructor Detail

      • CollectionFactory

        public CollectionFactory()
        Deprecated.
    • Method Detail

      • computeCapacity

        public static int computeCapacity​(int expectedSize)
        Deprecated.
      • computeCapacity

        public static int computeCapacity​(int expectedSize,
                                          float loadFactor)
        Deprecated.
      • makeConcurrentMap

        public static <K,​V> ConcurrentMap<K,​V> makeConcurrentMap()
        Deprecated.
      • makeConcurrentMap

        public static <K,​V> ConcurrentMap<K,​V> makeConcurrentMap​(int initCapacity)
        Deprecated.
      • makeConcurrentMap

        public static <K,​V> ConcurrentMap<K,​V> makeConcurrentMap​(int initCapacity,
                                                                             int concurrencyLevel)
        Deprecated.
      • makeConcurrentParallelMap

        public static <K,​V> ConcurrentMap<K,​V> makeConcurrentParallelMap​(int initCapacity,
                                                                                     int concurrencyLevel)
        Deprecated.
      • makeConcurrentMap

        public static <K,​V> ConcurrentMap<K,​V> makeConcurrentMap​(int initCapacity,
                                                                             float loadFactor,
                                                                             int concurrencyLevel)
        Deprecated.
      • makeMap

        public static <K,​V> Map<K,​V> makeMap()
        Deprecated.
      • makeMap

        public static <K,​V> Map<K,​V> makeMap​(int initialCapacity)
        Deprecated.
      • makeMap

        public static <K,​V> Map<K,​V> makeMap​(Map<? extends K,​? extends V> entries)
        Deprecated.
      • makeLinkedMap

        public static <K,​V> Map<K,​V> makeLinkedMap​(int initialCapacity,
                                                               float loadFactor,
                                                               boolean accessOrder)
        Deprecated.
      • makeSet

        public static <T> Set<T> makeSet()
        Deprecated.
      • makeSet

        public static <T> Set<T> makeSet​(int initialCapacity)
        Deprecated.
      • makeBoundedConcurrentMap

        public static <K,​V> ConcurrentMap<K,​V> makeBoundedConcurrentMap​(int maxSize)
        Deprecated.
      • makeLinkedMap

        @Deprecated
        public static <K,​V> Map<K,​V> makeLinkedMap​(int initialCapacity,
                                                               float loadFactor,
                                                               boolean accessOrder,
                                                               Equivalence<? super K> keyEq,
                                                               Equivalence<? super V> valueEq)
        Deprecated.
        Since 9.0, please use makeSet(int) instead.
      • makeSet

        @SafeVarargs
        public static <T> Set<T> makeSet​(T... entries)
        Deprecated.
        Create a Set backed by the specified array.
        Type Parameters:
        T - type of elements
        Parameters:
        entries - the array by which the list will be backed
        Returns:
        a set view of the specified array