core / pragma.utils / InstancedConcurrentMap / InstancedConcurrentMap /

InstancedConcurrentMap #

fun <K : Any, V : Any> InstancedConcurrentMap(instanceId: UUID, routingUtils: RoutingUtils = RoutingUtils.defaultInstance, serviceInstanceCount: Int, concurrentHashMap: ConcurrentMap<K, V> = ConcurrentHashMap())

Parameters #

instanceId

The instanceId of the service using this map.

serviceInstanceCount

The total number of instances for the distributed service using this map.

concurrentHashMap

The underlying map data structure for the ValidatingInstanceIdConcurrentHashMap.

routingUtils

The helper class that does the key validation.