Class DbConcurrentMap<V>

  • Type Parameters:
    V - the value type
    All Implemented Interfaces:
    Serializable

    public class DbConcurrentMap<V>
    extends Object
    implements Serializable
    The Class DbConcurrentMap.
    Since:
    0.1.0
    Author:
    michalt
    See Also:
    Serialized Form
    • Constructor Detail

      • DbConcurrentMap

        public DbConcurrentMap​(Class<V> clazz)
        Instantiates a new db concurrent map.
        Parameters:
        clazz - the clazz
    • Method Detail

      • put

        public V put​(Long key,
                     V value)
        Put.
        Parameters:
        key - the key
        value - the value
        Returns:
        the v
      • get

        public V get​(Long key)
        Gets the.
        Parameters:
        key - the key
        Returns:
        the v
      • values

        public Collection<V> values()
        Values.
        Returns:
        the collection
      • clear

        public void clear()
        Clear.
      • remove

        public void remove​(Long key)
        Removes the.
        Parameters:
        key - the key