- TIBCO BusinessEvents®
- Standard
- Collections
- Map
- Concurrent

# Collections.Map.Concurrent

## Description

Concurrent Map functions

## Functions

Name | Signature and Synopsis
--- | ---
`createConcurrentHashMap` | `Object createConcurrentHashMap ( )` Create and return instance of ConcurrentHashMap. This function returns a thread safe hash map.
`createHashMapWithId` | `Object createHashMapWithId ( String mapId )` Create and return instance of ConcurrentHashMap.
`putIfAbsent` | `Object putIfAbsent ( Object map ,Object key ,Object value )` If the specified key is not already associated with a value, associate it with the given value. The action is performed atomically.
`remove` | `boolean remove ( Object map ,Object key ,Object value )` Remove entry for key only if currently mapped to given value. The action is performed atomically.
`replace` | `Object replace ( Object map ,Object key ,Object value )` Replace entry for key only if currently mapped to some value. The action is performed atomically.
`replaceIfEqualToGivenValue` | `boolean replaceIfEqualToGivenValue ( Object map ,Object key ,Object oldValue, Object newValue )` Replace entry for key only if currently mapped to given value. The action is performed atomically.