Like other Entry instances associated with CacheBuilder, this class holds
strong references to the key and value, regardless of the type of references the cache may be
using.
| Modifier and Type | Field and Description |
|---|---|
| private final RemovalCause | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <K, V> RemovalNotification | create(K key, V value, RemovalCause cause)
Creates a new |
| public RemovalCause | |
| public boolean | wasEvicted()
Returns |
| cause | back to summary |
|---|---|
| private final RemovalCause cause | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| RemovalNotification | back to summary |
|---|---|
| private RemovalNotification(K key, V value, RemovalCause cause) | |
| create | back to summary |
|---|---|
| public static <K, V> RemovalNotification Creates a new
| |
| getCause | back to summary |
|---|---|
| public RemovalCause getCause() Returns the cause for which the entry was removed. | |
| wasEvicted | back to summary |
|---|---|
| public boolean wasEvicted() Returns | |