Example usage for com.google.common.collect Maps newConcurrentMap

List of usage examples for com.google.common.collect Maps newConcurrentMap

Introduction

In this page you can find the example usage for com.google.common.collect Maps newConcurrentMap.

Prototype

public static <K, V> ConcurrentMap<K, V> newConcurrentMap() 

Source Link

Document

Returns a general-purpose instance of ConcurrentMap , which supports all optional operations of the ConcurrentMap interface.

Usage

From source file:org.apache.gobblin.qualitychecker.row.RowLevelPolicyCheckResults.java

public RowLevelPolicyCheckResults() {
    this.results = Maps.newConcurrentMap();
}

From source file:com.jivesoftware.sdk.api.entity.impl.memory.MemoryJiveInstanceStore.java

private MemoryJiveInstanceStore() {
    jiveInstanceMap = Maps.newConcurrentMap();
}

From source file:com.jivesoftware.sdk.api.entity.impl.memory.MemoryTileInstanceStore.java

private MemoryTileInstanceStore() {
    tileInstanceMap = Maps.newConcurrentMap();
}

From source file:org.apache.bookkeeper.clients.impl.internal.StreamMetadataCache.java

public StreamMetadataCache(RootRangeClient scClient) {
    this.scClient = scClient;
    this.streams = Maps.newConcurrentMap();
}

From source file:com.continuuity.loom.provisioner.mock.MockProvisionerTenantStore.java

private MockProvisionerTenantStore() {
    this.liveWorkers = Maps.newConcurrentMap();
    this.assignedWorkers = Maps.newConcurrentMap();
}

From source file:com.zaradai.kunzite.trader.orders.book.ConcurrentOrderBook.java

@Override
protected Map<Double, PriceEntry> createEntryMap() {
    return Maps.newConcurrentMap();
}

From source file:com.zaradai.kunzite.trader.positions.ConcurrentPositionBook.java

@Override
protected Map<String, Position> createPositionMap() {
    return Maps.newConcurrentMap();
}

From source file:com.jivesoftware.sdk.api.entity.impl.memory.MemoryStorageInstanceStore.java

private MemoryStorageInstanceStore() {
    storageInstanceMap = Maps.newConcurrentMap();
}

From source file:be.Balor.Tools.Compatibility.CachedPackage.java

public CachedPackage(final String packageName) {
    this.packageName = packageName;
    this.cache = Maps.newConcurrentMap();
}

From source file:org.sitemap4j.reader.RawSiteMap.java

private RawSiteMap(final InputStream inputstream) {
    checkNotNull(inputstream);/*from   w  ww  . ja  v  a2 s  .  c  o m*/
    this.inputStream = inputstream;
    inputstream.mark(0);

    this.representations = Maps.newConcurrentMap();
}