Example usage for java.util.concurrent ConcurrentHashMap ConcurrentHashMap

List of usage examples for java.util.concurrent ConcurrentHashMap ConcurrentHashMap

Introduction

In this page you can find the example usage for java.util.concurrent ConcurrentHashMap ConcurrentHashMap.

Prototype

public ConcurrentHashMap() 

Source Link

Document

Creates a new, empty map with the default initial table size (16).

Usage

From source file:gridool.deployment.GridPerNodeClassLoader.java

public GridPerNodeClassLoader(@Nonnull GridNode node, @Nullable ClassLoader parent) {
    super(parent);
    this.node = node;
    this.networkLoadedClazzWithTimestamp = new ConcurrentHashMap<String, Long>();
}

From source file:org.ow2.proactive.connector.iaas.cloud.provider.jclouds.JCloudsComputeServiceCache.java

public JCloudsComputeServiceCache() {
    computeServiceCache = new ConcurrentHashMap<Infrastructure, ComputeService>();
}

From source file:org.ow2.proactive.connector.iaas.cloud.provider.vmware.VMWareServiceInstanceCache.java

public VMWareServiceInstanceCache() {
    serviceInstanceCache = new ConcurrentHashMap<Infrastructure, ServiceInstance>();
}

From source file:com.qwazr.server.MemoryIdentityManager.java

public MemoryIdentityManager() {
    this(new ConcurrentHashMap<>());
}

From source file:com.gsma.mobileconnect.cache.DiscoveryCacheHashMapImpl.java

public DiscoveryCacheHashMapImpl() {
    cache = new ConcurrentHashMap<DiscoveryCacheKey, DiscoveryCacheValue>();
}

From source file:com.ebay.myriad.state.SchedulerState.java

public SchedulerState() {
    this.clusters = new ConcurrentHashMap<>();
    this.tasks = new ConcurrentHashMap<>();
    this.pendingTasks = new HashSet<>();
    this.stagingTasks = new HashSet<>();
    this.activeTasks = new HashSet<>();
    this.lostTasks = new HashSet<>();
    this.killableTasks = new HashSet<>();
    this.rebalancerLock = new ConcurrentHashMap<>();
}

From source file:com.twitter.distributedlog.config.ConcurrentBaseConfiguration.java

public ConcurrentBaseConfiguration() {
    this.map = new ConcurrentHashMap<String, Object>();
}

From source file:fi.hsl.parkandride.core.service.BatchingRequestLogService.java

public void clearLogStash() {
    requestLogBatch = new ConcurrentHashMap<>();
}

From source file:nl.ctrlaltdev.harbinger.evidence.EvidenceCollector.java

public EvidenceCollector(WhiteList whiteList) {
    this.whiteList = whiteList;
    this.evidenceByIp = new ConcurrentHashMap<>();
    this.evidenceBySession = new ConcurrentHashMap<>();
}

From source file:com.ebay.pulsar.sessionizer.impl.SessionizerErrorManager.java

public SessionizerErrorManager() {
    for (ErrorType e : ErrorType.values()) {
        errorCounterMap.put(e.name(), new ConcurrentHashMap<String, LongCounter>());
    }//from   w ww . j av  a 2 s . co  m
}