Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> RemovalListener<K,V> |
RemovalListeners.asynchronous(RemovalListener<K,V> listener,
Executor executor)
Returns a
RemovalListener which processes all eviction notifications using executor . |
Modifier and Type | Method and Description |
---|---|
static <K,V> RemovalListener<K,V> |
RemovalListeners.asynchronous(RemovalListener<K,V> listener,
Executor executor)
Returns a
RemovalListener which processes all eviction notifications using executor . |
<K1 extends K,V1 extends V> |
CacheBuilder.removalListener(RemovalListener<? super K1,? super V1> listener)
Specifies a listener instance that caches should notify each time an entry is removed for any
reason.
|
Copyright © 2010–2018. All rights reserved.