Class RCol


  • public class RCol
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RCol()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <K,​V>
      BMap<K,​V>
      bMap()
      Creates an asynchronous Batching Map (BMap) implementation with default parameters.
      static <K,​V>
      BMap<K,​V>
      bMap​(long timeoutMs, java.lang.String name)
      Creates an asynchronous Batching Map (BMap) implementation with specific metadata.
      static <K,​V>
      RMap<K,​V>
      map()  
      static <T> RCollection<T> of​(java.util.Collection<T> src)  
      static <K,​V>
      RMap<K,​V>
      of​(java.util.Map<K,​V> src)  
      static <T> RQueue<T> of​(java.util.Queue<T> src)  
      static <T> RSet<T> of​(java.util.Set<T> src)  
      static <T> RQueue<T> queue()  
      static <T> RSet<T> set()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RCol

        public RCol()
    • Method Detail

      • of

        public static <T> RQueue<T> of​(java.util.Queue<T> src)
      • of

        public static <T> RSet<T> of​(java.util.Set<T> src)
      • of

        public static <T> RCollection<T> of​(java.util.Collection<T> src)
      • of

        public static <K,​V> RMap<K,​V> of​(java.util.Map<K,​V> src)
      • map

        public static <K,​V> RMap<K,​V> map()
      • set

        public static <T> RSet<T> set()
      • queue

        public static <T> RQueue<T> queue()
      • bMap

        public static <K,​V> BMap<K,​V> bMap​(long timeoutMs,
                                                       java.lang.String name)
        Creates an asynchronous Batching Map (BMap) implementation with specific metadata.
        Type Parameters:
        K - The type of keys.
        V - The type of values.
        Parameters:
        timeoutMs - The request timeout duration in milliseconds.
        name - A descriptive name for logging purposes.
        Returns:
        A new BMap instance backed by BMapImpl.
      • bMap

        public static <K,​V> BMap<K,​V> bMap()
        Creates an asynchronous Batching Map (BMap) implementation with default parameters.
        Type Parameters:
        K - The type of keys.
        V - The type of values.
        Returns:
        A new BMap instance with default parameters (4 seconds timeout, "GenericBMap").