| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> MapEvictionListener<K,V> |
EvictionListeners.asynchronous(MapEvictionListener<K,V> listener,
Executor executor)
Returns an asynchronous
MapEvictionListener which processes all
eviction notifications asynchronously, using executor. |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> MapEvictionListener<K,V> |
EvictionListeners.asynchronous(MapEvictionListener<K,V> listener,
Executor executor)
Returns an asynchronous
MapEvictionListener which processes all
eviction notifications asynchronously, using executor. |
<K,V> GenericMapMaker<K,V> |
MapMaker.evictionListener(MapEvictionListener<K,V> listener)
Specifies a listener instance, which all maps built using this
MapMaker will notify each time an entry is evicted. |
Copyright © 2010-2012. All Rights Reserved.